[glsl][ir] Regenerate skips

Regenerate the GLSL IR skips.

Bug: 42251044
Change-Id: Idcf87ce736bb92b7b20d7c64c2cc6d15a6bc0e89
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/208634
Reviewed-by: James Price <jrprice@google.com>
Commit-Queue: dan sinclair <dsinclair@chromium.org>
diff --git a/test/tint/benchmark/particles.wgsl.expected.ir.glsl b/test/tint/benchmark/particles.wgsl.expected.ir.glsl
index 6430562..0d59370 100644
--- a/test/tint/benchmark/particles.wgsl.expected.ir.glsl
+++ b/test/tint/benchmark/particles.wgsl.expected.ir.glsl
@@ -72,7 +72,7 @@
 void main() {
   fs_main_loc0_Output = fs_main_inner(VertexOutput(gl_FragCoord, fs_main_loc0_Input, fs_main_loc1_Input));
 }
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureNumLevels
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureNumLevels
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/benchmark/shadow-fragment.wgsl.expected.ir.glsl b/test/tint/benchmark/shadow-fragment.wgsl.expected.ir.glsl
index 8a07773..29c0278 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleCompare
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleCompare
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 cd405ed..e159074 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,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:618 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleCompareLevel
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 c99d849..0f5dc88 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSample
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSample
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/bug/tint/1183.wgsl.expected.ir.glsl b/test/tint/bug/tint/1183.wgsl.expected.ir.glsl
index c99d849..0f5dc88 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSample
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSample
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/bug/tint/1703.wgsl.expected.ir.glsl b/test/tint/bug/tint/1703.wgsl.expected.ir.glsl
index ef83938..96b1f7b 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleBias
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleBias
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/bug/tint/349291130.wgsl.expected.ir.glsl b/test/tint/bug/tint/349291130.wgsl.expected.ir.glsl
index 14389ea..7eca8f7 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureNumLevels
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureNumLevels
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/bug/tint/365570202.wgsl.expected.ir.glsl b/test/tint/bug/tint/365570202.wgsl.expected.ir.glsl
index c5e709a..f838739 100644
--- a/test/tint/bug/tint/365570202.wgsl.expected.ir.glsl
+++ b/test/tint/bug/tint/365570202.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/bug/tint/827.wgsl.expected.ir.glsl b/test/tint/bug/tint/827.wgsl.expected.ir.glsl
index b475b2e..928ec74 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
+<dawn>/src/tint/lang/glsl/writer/raise/builtin_polyfill.cc:469 internal compiler error: TINT_ASSERT(!tex->Type()->Is<core::type::DepthTexture>())
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/bug/tint/942.wgsl.expected.ir.glsl b/test/tint/bug/tint/942.wgsl.expected.ir.glsl
index 1c00ea3..1970bb2 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:521 internal compiler error: TINT_ASSERT(!l->Result(0)->Type()->Is<core::type::Pointer>())
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleLevel
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/bug/tint/948.wgsl.expected.ir.glsl b/test/tint/bug/tint/948.wgsl.expected.ir.glsl
index cd405ed..96b1f7b 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:618 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleBias
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/bug/tint/949.wgsl.expected.ir.glsl b/test/tint/bug/tint/949.wgsl.expected.ir.glsl
index c99d849..0f5dc88 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSample
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSample
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/bug/tint/978.wgsl.expected.ir.glsl b/test/tint/bug/tint/978.wgsl.expected.ir.glsl
index c99d849..0f5dc88 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSample
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSample
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/compute_subgroup_inclusive.wgsl.expected.ir.glsl b/test/tint/builtins/compute_subgroup_inclusive.wgsl.expected.ir.glsl
index 90be942..317d088 100644
--- a/test/tint/builtins/compute_subgroup_inclusive.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/compute_subgroup_inclusive.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-../../src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupInclusiveAdd
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupInclusiveAdd
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the 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/315bf5.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/inputAttachmentLoad/315bf5.wgsl.expected.ir.glsl
index 85226b5..60c7daa 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: inputAttachmentLoad
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: inputAttachmentLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 85226b5..60c7daa 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: inputAttachmentLoad
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: inputAttachmentLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 85226b5..60c7daa 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: inputAttachmentLoad
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: inputAttachmentLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 c84b6e0..9ef6f52 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadBroadcast
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadBroadcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 c84b6e0..9ef6f52 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadBroadcast
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadBroadcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 c84b6e0..9ef6f52 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadBroadcast
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadBroadcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 c84b6e0..9ef6f52 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadBroadcast
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadBroadcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 c84b6e0..9ef6f52 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadBroadcast
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadBroadcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 c84b6e0..9ef6f52 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadBroadcast
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadBroadcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 c84b6e0..9ef6f52 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadBroadcast
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadBroadcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 c84b6e0..9ef6f52 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadBroadcast
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadBroadcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 c84b6e0..9ef6f52 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadBroadcast
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadBroadcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 c84b6e0..9ef6f52 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadBroadcast
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadBroadcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 c84b6e0..9ef6f52 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadBroadcast
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadBroadcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 c84b6e0..9ef6f52 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadBroadcast
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadBroadcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 c84b6e0..9ef6f52 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadBroadcast
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadBroadcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 c84b6e0..9ef6f52 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadBroadcast
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadBroadcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 c84b6e0..9ef6f52 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadBroadcast
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadBroadcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 c84b6e0..9ef6f52 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadBroadcast
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadBroadcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 c84b6e0..9ef6f52 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadBroadcast
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadBroadcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 c84b6e0..9ef6f52 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadBroadcast
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadBroadcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 c84b6e0..9ef6f52 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadBroadcast
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadBroadcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 c84b6e0..9ef6f52 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadBroadcast
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadBroadcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 c84b6e0..9ef6f52 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadBroadcast
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadBroadcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 c84b6e0..9ef6f52 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadBroadcast
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadBroadcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 c84b6e0..9ef6f52 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadBroadcast
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadBroadcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 c84b6e0..9ef6f52 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadBroadcast
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadBroadcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 c84b6e0..9ef6f52 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadBroadcast
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadBroadcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 c84b6e0..9ef6f52 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadBroadcast
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadBroadcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 c84b6e0..9ef6f52 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadBroadcast
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadBroadcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 c84b6e0..9ef6f52 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadBroadcast
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadBroadcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 c84b6e0..9ef6f52 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadBroadcast
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadBroadcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 c84b6e0..9ef6f52 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadBroadcast
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadBroadcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 c84b6e0..9ef6f52 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadBroadcast
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadBroadcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 c84b6e0..9ef6f52 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadBroadcast
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadBroadcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 6b1c98a..b2336d7 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadSwapDiagonal
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadSwapDiagonal
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 6b1c98a..b2336d7 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadSwapDiagonal
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadSwapDiagonal
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 6b1c98a..b2336d7 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadSwapDiagonal
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadSwapDiagonal
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 6b1c98a..b2336d7 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadSwapDiagonal
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadSwapDiagonal
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 6b1c98a..b2336d7 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadSwapDiagonal
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadSwapDiagonal
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 6b1c98a..b2336d7 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadSwapDiagonal
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadSwapDiagonal
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 6b1c98a..b2336d7 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadSwapDiagonal
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadSwapDiagonal
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 6b1c98a..b2336d7 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadSwapDiagonal
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadSwapDiagonal
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 6b1c98a..b2336d7 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadSwapDiagonal
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadSwapDiagonal
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 6b1c98a..b2336d7 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadSwapDiagonal
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadSwapDiagonal
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 6b1c98a..b2336d7 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadSwapDiagonal
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadSwapDiagonal
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 6b1c98a..b2336d7 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadSwapDiagonal
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadSwapDiagonal
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 6b1c98a..b2336d7 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadSwapDiagonal
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadSwapDiagonal
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 6b1c98a..b2336d7 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadSwapDiagonal
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadSwapDiagonal
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 6b1c98a..b2336d7 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadSwapDiagonal
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadSwapDiagonal
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 6b1c98a..b2336d7 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadSwapDiagonal
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadSwapDiagonal
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 af17c0e..8ecc7a5 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadSwapX
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadSwapX
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 af17c0e..8ecc7a5 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadSwapX
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadSwapX
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 af17c0e..8ecc7a5 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadSwapX
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadSwapX
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 af17c0e..8ecc7a5 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadSwapX
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadSwapX
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 af17c0e..8ecc7a5 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadSwapX
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadSwapX
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 af17c0e..8ecc7a5 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadSwapX
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadSwapX
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 af17c0e..8ecc7a5 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadSwapX
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadSwapX
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 af17c0e..8ecc7a5 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadSwapX
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadSwapX
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 af17c0e..8ecc7a5 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadSwapX
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadSwapX
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 af17c0e..8ecc7a5 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadSwapX
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadSwapX
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 af17c0e..8ecc7a5 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadSwapX
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadSwapX
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 af17c0e..8ecc7a5 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadSwapX
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadSwapX
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 af17c0e..8ecc7a5 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadSwapX
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadSwapX
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 af17c0e..8ecc7a5 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadSwapX
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadSwapX
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 af17c0e..8ecc7a5 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadSwapX
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadSwapX
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 af17c0e..8ecc7a5 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadSwapX
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadSwapX
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 fe822f2..618314b 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadSwapY
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadSwapY
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 fe822f2..618314b 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadSwapY
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadSwapY
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 fe822f2..618314b 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadSwapY
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadSwapY
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 fe822f2..618314b 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadSwapY
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadSwapY
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 fe822f2..618314b 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadSwapY
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadSwapY
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 fe822f2..618314b 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadSwapY
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadSwapY
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 fe822f2..618314b 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadSwapY
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadSwapY
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 fe822f2..618314b 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadSwapY
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadSwapY
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 fe822f2..618314b 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadSwapY
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadSwapY
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 fe822f2..618314b 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadSwapY
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadSwapY
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 fe822f2..618314b 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadSwapY
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadSwapY
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 fe822f2..618314b 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadSwapY
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadSwapY
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 fe822f2..618314b 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadSwapY
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadSwapY
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 fe822f2..618314b 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadSwapY
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadSwapY
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 fe822f2..618314b 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadSwapY
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadSwapY
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 fe822f2..618314b 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadSwapY
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadSwapY
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 b4466fd..514f51d 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupAdd
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupAdd
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 b4466fd..514f51d 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupAdd
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupAdd
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 b4466fd..514f51d 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupAdd
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupAdd
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 b4466fd..514f51d 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupAdd
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupAdd
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 b4466fd..514f51d 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupAdd
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupAdd
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 b4466fd..514f51d 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupAdd
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupAdd
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 b4466fd..514f51d 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupAdd
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupAdd
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 b4466fd..514f51d 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupAdd
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupAdd
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 b4466fd..514f51d 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupAdd
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupAdd
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 b4466fd..514f51d 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupAdd
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupAdd
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 b4466fd..514f51d 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupAdd
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupAdd
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 b4466fd..514f51d 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupAdd
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupAdd
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 b4466fd..514f51d 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupAdd
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupAdd
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 b4466fd..514f51d 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupAdd
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupAdd
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 b4466fd..514f51d 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupAdd
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupAdd
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 b4466fd..514f51d 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupAdd
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupAdd
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 e9ee43b..4aeec35 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupAll
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupAll
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 e3701fe..a80ba16 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupAnd
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupAnd
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 e3701fe..a80ba16 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupAnd
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupAnd
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 e3701fe..a80ba16 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupAnd
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupAnd
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 e3701fe..a80ba16 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupAnd
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupAnd
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 e3701fe..a80ba16 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupAnd
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupAnd
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 e3701fe..a80ba16 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupAnd
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupAnd
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 e3701fe..a80ba16 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupAnd
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupAnd
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 e3701fe..a80ba16 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupAnd
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupAnd
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 28aba69..a9dc0c7 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupAny
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupAny
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 ef69c1e..d1b910d 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBallot
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBallot
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 d8d0041..1e87ff3 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBroadcast
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBroadcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 d8d0041..1e87ff3 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBroadcast
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBroadcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 d8d0041..1e87ff3 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBroadcast
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBroadcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 d8d0041..1e87ff3 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBroadcast
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBroadcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 d8d0041..1e87ff3 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBroadcast
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBroadcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 d8d0041..1e87ff3 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBroadcast
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBroadcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 d8d0041..1e87ff3 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBroadcast
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBroadcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 d8d0041..1e87ff3 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBroadcast
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBroadcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 d8d0041..1e87ff3 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBroadcast
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBroadcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 d8d0041..1e87ff3 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBroadcast
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBroadcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 d8d0041..1e87ff3 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBroadcast
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBroadcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 d8d0041..1e87ff3 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBroadcast
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBroadcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 d8d0041..1e87ff3 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBroadcast
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBroadcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 d8d0041..1e87ff3 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBroadcast
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBroadcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 d8d0041..1e87ff3 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBroadcast
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBroadcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 d8d0041..1e87ff3 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBroadcast
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBroadcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 d8d0041..1e87ff3 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBroadcast
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBroadcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 d8d0041..1e87ff3 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBroadcast
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBroadcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 d8d0041..1e87ff3 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBroadcast
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBroadcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 d8d0041..1e87ff3 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBroadcast
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBroadcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 d8d0041..1e87ff3 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBroadcast
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBroadcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 d8d0041..1e87ff3 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBroadcast
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBroadcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 d8d0041..1e87ff3 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBroadcast
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBroadcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 d8d0041..1e87ff3 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBroadcast
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBroadcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 d8d0041..1e87ff3 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBroadcast
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBroadcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 d8d0041..1e87ff3 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBroadcast
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBroadcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 d8d0041..1e87ff3 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBroadcast
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBroadcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 d8d0041..1e87ff3 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBroadcast
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBroadcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 d8d0041..1e87ff3 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBroadcast
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBroadcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 d8d0041..1e87ff3 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBroadcast
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBroadcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 d8d0041..1e87ff3 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBroadcast
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBroadcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 d8d0041..1e87ff3 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBroadcast
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBroadcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 9f6bfc2..72b5d00 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBroadcastFirst
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBroadcastFirst
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 9f6bfc2..72b5d00 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBroadcastFirst
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBroadcastFirst
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 9f6bfc2..72b5d00 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBroadcastFirst
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBroadcastFirst
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 9f6bfc2..72b5d00 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBroadcastFirst
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBroadcastFirst
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 9f6bfc2..72b5d00 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBroadcastFirst
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBroadcastFirst
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 9f6bfc2..72b5d00 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBroadcastFirst
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBroadcastFirst
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 9f6bfc2..72b5d00 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBroadcastFirst
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBroadcastFirst
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 9f6bfc2..72b5d00 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBroadcastFirst
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBroadcastFirst
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 9f6bfc2..72b5d00 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBroadcastFirst
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBroadcastFirst
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 9f6bfc2..72b5d00 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBroadcastFirst
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBroadcastFirst
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 9f6bfc2..72b5d00 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBroadcastFirst
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBroadcastFirst
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 9f6bfc2..72b5d00 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBroadcastFirst
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBroadcastFirst
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 9f6bfc2..72b5d00 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBroadcastFirst
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBroadcastFirst
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 9f6bfc2..72b5d00 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBroadcastFirst
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBroadcastFirst
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 9f6bfc2..72b5d00 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBroadcastFirst
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBroadcastFirst
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 9f6bfc2..72b5d00 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBroadcastFirst
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBroadcastFirst
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 2ce44c1..d051020 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupElect
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupElect
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 5ee49c1..cec168c 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupExclusiveAdd
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupExclusiveAdd
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 5ee49c1..cec168c 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupExclusiveAdd
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupExclusiveAdd
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 5ee49c1..cec168c 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupExclusiveAdd
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupExclusiveAdd
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 5ee49c1..cec168c 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupExclusiveAdd
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupExclusiveAdd
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 5ee49c1..cec168c 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupExclusiveAdd
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupExclusiveAdd
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 5ee49c1..cec168c 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupExclusiveAdd
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupExclusiveAdd
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 5ee49c1..cec168c 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupExclusiveAdd
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupExclusiveAdd
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 5ee49c1..cec168c 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupExclusiveAdd
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupExclusiveAdd
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 5ee49c1..cec168c 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupExclusiveAdd
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupExclusiveAdd
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 5ee49c1..cec168c 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupExclusiveAdd
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupExclusiveAdd
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 5ee49c1..cec168c 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupExclusiveAdd
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupExclusiveAdd
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 5ee49c1..cec168c 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupExclusiveAdd
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupExclusiveAdd
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 5ee49c1..cec168c 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupExclusiveAdd
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupExclusiveAdd
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 5ee49c1..cec168c 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupExclusiveAdd
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupExclusiveAdd
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 5ee49c1..cec168c 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupExclusiveAdd
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupExclusiveAdd
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 5ee49c1..cec168c 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupExclusiveAdd
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupExclusiveAdd
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 d5fe702..aa7ebca 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupExclusiveMul
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupExclusiveMul
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 d5fe702..aa7ebca 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupExclusiveMul
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupExclusiveMul
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 d5fe702..aa7ebca 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupExclusiveMul
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupExclusiveMul
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 d5fe702..aa7ebca 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupExclusiveMul
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupExclusiveMul
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 d5fe702..aa7ebca 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupExclusiveMul
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupExclusiveMul
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 d5fe702..aa7ebca 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupExclusiveMul
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupExclusiveMul
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 d5fe702..aa7ebca 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupExclusiveMul
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupExclusiveMul
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 d5fe702..aa7ebca 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupExclusiveMul
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupExclusiveMul
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 d5fe702..aa7ebca 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupExclusiveMul
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupExclusiveMul
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 d5fe702..aa7ebca 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupExclusiveMul
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupExclusiveMul
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 d5fe702..aa7ebca 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupExclusiveMul
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupExclusiveMul
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 d5fe702..aa7ebca 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupExclusiveMul
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupExclusiveMul
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 d5fe702..aa7ebca 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupExclusiveMul
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupExclusiveMul
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 d5fe702..aa7ebca 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupExclusiveMul
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupExclusiveMul
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 d5fe702..aa7ebca 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupExclusiveMul
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupExclusiveMul
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 d5fe702..aa7ebca 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupExclusiveMul
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupExclusiveMul
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/subgroupInclusiveAdd/1b7680.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/subgroupInclusiveAdd/1b7680.wgsl.expected.ir.glsl
index 0c22269..317d088 100644
--- a/test/tint/builtins/gen/literal/subgroupInclusiveAdd/1b7680.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/subgroupInclusiveAdd/1b7680.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-../../src/tint/lang/glsl/writer/printer/printer.cc:1452 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupInclusiveAdd
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupInclusiveAdd
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/subgroupInclusiveAdd/367caa.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/subgroupInclusiveAdd/367caa.wgsl.expected.ir.glsl
index 0c22269..317d088 100644
--- a/test/tint/builtins/gen/literal/subgroupInclusiveAdd/367caa.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/subgroupInclusiveAdd/367caa.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-../../src/tint/lang/glsl/writer/printer/printer.cc:1452 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupInclusiveAdd
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupInclusiveAdd
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/subgroupInclusiveAdd/58ea3d.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/subgroupInclusiveAdd/58ea3d.wgsl.expected.ir.glsl
index 0c22269..317d088 100644
--- a/test/tint/builtins/gen/literal/subgroupInclusiveAdd/58ea3d.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/subgroupInclusiveAdd/58ea3d.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-../../src/tint/lang/glsl/writer/printer/printer.cc:1452 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupInclusiveAdd
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupInclusiveAdd
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/subgroupInclusiveAdd/7ed675.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/subgroupInclusiveAdd/7ed675.wgsl.expected.ir.glsl
index 0c22269..317d088 100644
--- a/test/tint/builtins/gen/literal/subgroupInclusiveAdd/7ed675.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/subgroupInclusiveAdd/7ed675.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-../../src/tint/lang/glsl/writer/printer/printer.cc:1452 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupInclusiveAdd
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupInclusiveAdd
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/subgroupInclusiveAdd/7f2040.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/subgroupInclusiveAdd/7f2040.wgsl.expected.ir.glsl
index 0c22269..317d088 100644
--- a/test/tint/builtins/gen/literal/subgroupInclusiveAdd/7f2040.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/subgroupInclusiveAdd/7f2040.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-../../src/tint/lang/glsl/writer/printer/printer.cc:1452 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupInclusiveAdd
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupInclusiveAdd
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/subgroupInclusiveAdd/8bbe75.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/subgroupInclusiveAdd/8bbe75.wgsl.expected.ir.glsl
index 0c22269..317d088 100644
--- a/test/tint/builtins/gen/literal/subgroupInclusiveAdd/8bbe75.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/subgroupInclusiveAdd/8bbe75.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-../../src/tint/lang/glsl/writer/printer/printer.cc:1452 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupInclusiveAdd
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupInclusiveAdd
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/subgroupInclusiveAdd/9bbcb0.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/subgroupInclusiveAdd/9bbcb0.wgsl.expected.ir.glsl
index 0c22269..317d088 100644
--- a/test/tint/builtins/gen/literal/subgroupInclusiveAdd/9bbcb0.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/subgroupInclusiveAdd/9bbcb0.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-../../src/tint/lang/glsl/writer/printer/printer.cc:1452 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupInclusiveAdd
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupInclusiveAdd
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/subgroupInclusiveAdd/a7c60f.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/subgroupInclusiveAdd/a7c60f.wgsl.expected.ir.glsl
index 0c22269..317d088 100644
--- a/test/tint/builtins/gen/literal/subgroupInclusiveAdd/a7c60f.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/subgroupInclusiveAdd/a7c60f.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-../../src/tint/lang/glsl/writer/printer/printer.cc:1452 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupInclusiveAdd
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupInclusiveAdd
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/subgroupInclusiveAdd/b787ce.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/subgroupInclusiveAdd/b787ce.wgsl.expected.ir.glsl
index 0c22269..317d088 100644
--- a/test/tint/builtins/gen/literal/subgroupInclusiveAdd/b787ce.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/subgroupInclusiveAdd/b787ce.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-../../src/tint/lang/glsl/writer/printer/printer.cc:1452 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupInclusiveAdd
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupInclusiveAdd
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/subgroupInclusiveAdd/c816b2.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/subgroupInclusiveAdd/c816b2.wgsl.expected.ir.glsl
index 0c22269..317d088 100644
--- a/test/tint/builtins/gen/literal/subgroupInclusiveAdd/c816b2.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/subgroupInclusiveAdd/c816b2.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-../../src/tint/lang/glsl/writer/printer/printer.cc:1452 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupInclusiveAdd
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupInclusiveAdd
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/subgroupInclusiveAdd/dde86f.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/subgroupInclusiveAdd/dde86f.wgsl.expected.ir.glsl
index 0c22269..317d088 100644
--- a/test/tint/builtins/gen/literal/subgroupInclusiveAdd/dde86f.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/subgroupInclusiveAdd/dde86f.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-../../src/tint/lang/glsl/writer/printer/printer.cc:1452 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupInclusiveAdd
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupInclusiveAdd
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/subgroupInclusiveAdd/df692b.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/subgroupInclusiveAdd/df692b.wgsl.expected.ir.glsl
index 0c22269..317d088 100644
--- a/test/tint/builtins/gen/literal/subgroupInclusiveAdd/df692b.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/subgroupInclusiveAdd/df692b.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-../../src/tint/lang/glsl/writer/printer/printer.cc:1452 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupInclusiveAdd
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupInclusiveAdd
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/subgroupInclusiveAdd/e18ebb.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/subgroupInclusiveAdd/e18ebb.wgsl.expected.ir.glsl
index 0c22269..317d088 100644
--- a/test/tint/builtins/gen/literal/subgroupInclusiveAdd/e18ebb.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/subgroupInclusiveAdd/e18ebb.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-../../src/tint/lang/glsl/writer/printer/printer.cc:1452 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupInclusiveAdd
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupInclusiveAdd
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/subgroupInclusiveAdd/f43b30.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/subgroupInclusiveAdd/f43b30.wgsl.expected.ir.glsl
index 0c22269..317d088 100644
--- a/test/tint/builtins/gen/literal/subgroupInclusiveAdd/f43b30.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/subgroupInclusiveAdd/f43b30.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-../../src/tint/lang/glsl/writer/printer/printer.cc:1452 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupInclusiveAdd
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupInclusiveAdd
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/subgroupInclusiveAdd/f8906d.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/subgroupInclusiveAdd/f8906d.wgsl.expected.ir.glsl
index 0c22269..317d088 100644
--- a/test/tint/builtins/gen/literal/subgroupInclusiveAdd/f8906d.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/subgroupInclusiveAdd/f8906d.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-../../src/tint/lang/glsl/writer/printer/printer.cc:1452 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupInclusiveAdd
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupInclusiveAdd
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/subgroupInclusiveAdd/fabbde.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/subgroupInclusiveAdd/fabbde.wgsl.expected.ir.glsl
index 0c22269..317d088 100644
--- a/test/tint/builtins/gen/literal/subgroupInclusiveAdd/fabbde.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/subgroupInclusiveAdd/fabbde.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-../../src/tint/lang/glsl/writer/printer/printer.cc:1452 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupInclusiveAdd
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupInclusiveAdd
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/subgroupInclusiveMul/01dc9b.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/subgroupInclusiveMul/01dc9b.wgsl.expected.ir.glsl
index a758ef00..b632826 100644
--- a/test/tint/builtins/gen/literal/subgroupInclusiveMul/01dc9b.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/subgroupInclusiveMul/01dc9b.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-../../src/tint/lang/glsl/writer/printer/printer.cc:1452 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupInclusiveMul
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupInclusiveMul
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/subgroupInclusiveMul/10a1ef.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/subgroupInclusiveMul/10a1ef.wgsl.expected.ir.glsl
index a758ef00..b632826 100644
--- a/test/tint/builtins/gen/literal/subgroupInclusiveMul/10a1ef.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/subgroupInclusiveMul/10a1ef.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-../../src/tint/lang/glsl/writer/printer/printer.cc:1452 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupInclusiveMul
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupInclusiveMul
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/subgroupInclusiveMul/1cdf5c.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/subgroupInclusiveMul/1cdf5c.wgsl.expected.ir.glsl
index a758ef00..b632826 100644
--- a/test/tint/builtins/gen/literal/subgroupInclusiveMul/1cdf5c.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/subgroupInclusiveMul/1cdf5c.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-../../src/tint/lang/glsl/writer/printer/printer.cc:1452 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupInclusiveMul
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupInclusiveMul
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/subgroupInclusiveMul/2a7ec7.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/subgroupInclusiveMul/2a7ec7.wgsl.expected.ir.glsl
index a758ef00..b632826 100644
--- a/test/tint/builtins/gen/literal/subgroupInclusiveMul/2a7ec7.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/subgroupInclusiveMul/2a7ec7.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-../../src/tint/lang/glsl/writer/printer/printer.cc:1452 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupInclusiveMul
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupInclusiveMul
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/subgroupInclusiveMul/2f8076.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/subgroupInclusiveMul/2f8076.wgsl.expected.ir.glsl
index a758ef00..b632826 100644
--- a/test/tint/builtins/gen/literal/subgroupInclusiveMul/2f8076.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/subgroupInclusiveMul/2f8076.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-../../src/tint/lang/glsl/writer/printer/printer.cc:1452 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupInclusiveMul
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupInclusiveMul
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/subgroupInclusiveMul/359176.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/subgroupInclusiveMul/359176.wgsl.expected.ir.glsl
index a758ef00..b632826 100644
--- a/test/tint/builtins/gen/literal/subgroupInclusiveMul/359176.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/subgroupInclusiveMul/359176.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-../../src/tint/lang/glsl/writer/printer/printer.cc:1452 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupInclusiveMul
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupInclusiveMul
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/subgroupInclusiveMul/4430d5.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/subgroupInclusiveMul/4430d5.wgsl.expected.ir.glsl
index a758ef00..b632826 100644
--- a/test/tint/builtins/gen/literal/subgroupInclusiveMul/4430d5.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/subgroupInclusiveMul/4430d5.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-../../src/tint/lang/glsl/writer/printer/printer.cc:1452 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupInclusiveMul
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupInclusiveMul
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/subgroupInclusiveMul/517979.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/subgroupInclusiveMul/517979.wgsl.expected.ir.glsl
index a758ef00..b632826 100644
--- a/test/tint/builtins/gen/literal/subgroupInclusiveMul/517979.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/subgroupInclusiveMul/517979.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-../../src/tint/lang/glsl/writer/printer/printer.cc:1452 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupInclusiveMul
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupInclusiveMul
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/subgroupInclusiveMul/69326e.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/subgroupInclusiveMul/69326e.wgsl.expected.ir.glsl
index a758ef00..b632826 100644
--- a/test/tint/builtins/gen/literal/subgroupInclusiveMul/69326e.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/subgroupInclusiveMul/69326e.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-../../src/tint/lang/glsl/writer/printer/printer.cc:1452 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupInclusiveMul
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupInclusiveMul
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/subgroupInclusiveMul/769def.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/subgroupInclusiveMul/769def.wgsl.expected.ir.glsl
index a758ef00..b632826 100644
--- a/test/tint/builtins/gen/literal/subgroupInclusiveMul/769def.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/subgroupInclusiveMul/769def.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-../../src/tint/lang/glsl/writer/printer/printer.cc:1452 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupInclusiveMul
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupInclusiveMul
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/subgroupInclusiveMul/7978b8.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/subgroupInclusiveMul/7978b8.wgsl.expected.ir.glsl
index a758ef00..b632826 100644
--- a/test/tint/builtins/gen/literal/subgroupInclusiveMul/7978b8.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/subgroupInclusiveMul/7978b8.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-../../src/tint/lang/glsl/writer/printer/printer.cc:1452 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupInclusiveMul
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupInclusiveMul
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/subgroupInclusiveMul/89437b.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/subgroupInclusiveMul/89437b.wgsl.expected.ir.glsl
index a758ef00..b632826 100644
--- a/test/tint/builtins/gen/literal/subgroupInclusiveMul/89437b.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/subgroupInclusiveMul/89437b.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-../../src/tint/lang/glsl/writer/printer/printer.cc:1452 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupInclusiveMul
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupInclusiveMul
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/subgroupInclusiveMul/9a54ec.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/subgroupInclusiveMul/9a54ec.wgsl.expected.ir.glsl
index a758ef00..b632826 100644
--- a/test/tint/builtins/gen/literal/subgroupInclusiveMul/9a54ec.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/subgroupInclusiveMul/9a54ec.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-../../src/tint/lang/glsl/writer/printer/printer.cc:1452 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupInclusiveMul
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupInclusiveMul
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/subgroupInclusiveMul/ac5df5.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/subgroupInclusiveMul/ac5df5.wgsl.expected.ir.glsl
index a758ef00..b632826 100644
--- a/test/tint/builtins/gen/literal/subgroupInclusiveMul/ac5df5.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/subgroupInclusiveMul/ac5df5.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-../../src/tint/lang/glsl/writer/printer/printer.cc:1452 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupInclusiveMul
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupInclusiveMul
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/subgroupInclusiveMul/dada1d.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/subgroupInclusiveMul/dada1d.wgsl.expected.ir.glsl
index a758ef00..b632826 100644
--- a/test/tint/builtins/gen/literal/subgroupInclusiveMul/dada1d.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/subgroupInclusiveMul/dada1d.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-../../src/tint/lang/glsl/writer/printer/printer.cc:1452 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupInclusiveMul
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupInclusiveMul
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/subgroupInclusiveMul/e713f5.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/subgroupInclusiveMul/e713f5.wgsl.expected.ir.glsl
index a758ef00..b632826 100644
--- a/test/tint/builtins/gen/literal/subgroupInclusiveMul/e713f5.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/subgroupInclusiveMul/e713f5.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-../../src/tint/lang/glsl/writer/printer/printer.cc:1452 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupInclusiveMul
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupInclusiveMul
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the 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 6188c77..e03ab331 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupMax
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupMax
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 6188c77..e03ab331 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupMax
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupMax
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 6188c77..e03ab331 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupMax
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupMax
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 6188c77..e03ab331 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupMax
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupMax
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 6188c77..e03ab331 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupMax
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupMax
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 6188c77..e03ab331 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupMax
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupMax
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 6188c77..e03ab331 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupMax
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupMax
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 6188c77..e03ab331 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupMax
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupMax
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 6188c77..e03ab331 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupMax
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupMax
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 6188c77..e03ab331 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupMax
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupMax
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 6188c77..e03ab331 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupMax
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupMax
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 6188c77..e03ab331 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupMax
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupMax
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 6188c77..e03ab331 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupMax
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupMax
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 6188c77..e03ab331 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupMax
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupMax
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 6188c77..e03ab331 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupMax
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupMax
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 6188c77..e03ab331 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupMax
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupMax
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 2c7939a..03609f2 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupMin
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupMin
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 2c7939a..03609f2 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupMin
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupMin
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 2c7939a..03609f2 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupMin
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupMin
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 2c7939a..03609f2 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupMin
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupMin
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 2c7939a..03609f2 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupMin
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupMin
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 2c7939a..03609f2 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupMin
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupMin
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 2c7939a..03609f2 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupMin
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupMin
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 2c7939a..03609f2 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupMin
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupMin
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 2c7939a..03609f2 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupMin
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupMin
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 2c7939a..03609f2 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupMin
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupMin
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 2c7939a..03609f2 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupMin
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupMin
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 2c7939a..03609f2 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupMin
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupMin
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 2c7939a..03609f2 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupMin
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupMin
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 2c7939a..03609f2 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupMin
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupMin
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 2c7939a..03609f2 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupMin
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupMin
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 2c7939a..03609f2 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupMin
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupMin
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 6c10f1b..58a9671 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupMul
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupMul
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 6c10f1b..58a9671 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupMul
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupMul
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 6c10f1b..58a9671 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupMul
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupMul
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 6c10f1b..58a9671 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupMul
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupMul
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 6c10f1b..58a9671 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupMul
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupMul
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 6c10f1b..58a9671 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupMul
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupMul
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 6c10f1b..58a9671 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupMul
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupMul
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 6c10f1b..58a9671 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupMul
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupMul
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 6c10f1b..58a9671 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupMul
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupMul
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 6c10f1b..58a9671 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupMul
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupMul
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 6c10f1b..58a9671 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupMul
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupMul
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 6c10f1b..58a9671 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupMul
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupMul
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 6c10f1b..58a9671 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupMul
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupMul
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 6c10f1b..58a9671 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupMul
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupMul
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 6c10f1b..58a9671 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupMul
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupMul
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 6c10f1b..58a9671 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupMul
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupMul
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 049c191..bb830ec 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupOr
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupOr
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 049c191..bb830ec 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupOr
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupOr
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 049c191..bb830ec 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupOr
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupOr
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 049c191..bb830ec 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupOr
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupOr
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 049c191..bb830ec 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupOr
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupOr
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 049c191..bb830ec 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupOr
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupOr
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 049c191..bb830ec 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupOr
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupOr
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 049c191..bb830ec 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupOr
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupOr
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 6a828f7..e000359 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffle
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffle
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 6a828f7..e000359 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffle
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffle
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 6a828f7..e000359 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffle
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffle
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 6a828f7..e000359 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffle
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffle
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 6a828f7..e000359 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffle
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffle
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 6a828f7..e000359 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffle
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffle
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 6a828f7..e000359 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffle
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffle
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 6a828f7..e000359 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffle
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffle
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 6a828f7..e000359 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffle
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffle
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 6a828f7..e000359 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffle
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffle
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 6a828f7..e000359 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffle
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffle
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 6a828f7..e000359 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffle
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffle
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 6a828f7..e000359 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffle
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffle
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 6a828f7..e000359 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffle
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffle
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 6a828f7..e000359 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffle
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffle
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 6a828f7..e000359 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffle
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffle
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 6a828f7..e000359 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffle
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffle
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 6a828f7..e000359 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffle
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffle
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 6a828f7..e000359 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffle
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffle
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 6a828f7..e000359 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffle
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffle
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 6a828f7..e000359 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffle
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffle
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 6a828f7..e000359 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffle
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffle
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 6a828f7..e000359 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffle
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffle
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 6a828f7..e000359 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffle
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffle
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 6a828f7..e000359 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffle
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffle
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 6a828f7..e000359 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffle
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffle
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 6a828f7..e000359 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffle
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffle
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 6a828f7..e000359 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffle
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffle
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 6a828f7..e000359 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffle
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffle
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 6a828f7..e000359 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffle
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffle
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 6a828f7..e000359 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffle
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffle
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 6a828f7..e000359 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffle
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffle
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 ac7e1fb..3488cb2 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffleDown
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffleDown
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 ac7e1fb..3488cb2 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffleDown
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffleDown
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 ac7e1fb..3488cb2 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffleDown
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffleDown
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 ac7e1fb..3488cb2 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffleDown
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffleDown
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 ac7e1fb..3488cb2 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffleDown
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffleDown
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 ac7e1fb..3488cb2 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffleDown
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffleDown
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 ac7e1fb..3488cb2 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffleDown
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffleDown
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 ac7e1fb..3488cb2 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffleDown
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffleDown
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 ac7e1fb..3488cb2 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffleDown
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffleDown
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 ac7e1fb..3488cb2 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffleDown
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffleDown
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 ac7e1fb..3488cb2 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffleDown
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffleDown
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 ac7e1fb..3488cb2 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffleDown
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffleDown
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 ac7e1fb..3488cb2 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffleDown
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffleDown
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 ac7e1fb..3488cb2 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffleDown
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffleDown
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 ac7e1fb..3488cb2 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffleDown
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffleDown
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 ac7e1fb..3488cb2 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffleDown
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffleDown
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 c514103..557c135 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffleUp
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffleUp
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 c514103..557c135 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffleUp
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffleUp
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 c514103..557c135 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffleUp
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffleUp
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 c514103..557c135 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffleUp
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffleUp
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 c514103..557c135 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffleUp
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffleUp
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 c514103..557c135 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffleUp
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffleUp
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 c514103..557c135 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffleUp
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffleUp
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 c514103..557c135 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffleUp
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffleUp
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 c514103..557c135 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffleUp
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffleUp
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 c514103..557c135 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffleUp
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffleUp
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 c514103..557c135 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffleUp
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffleUp
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 c514103..557c135 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffleUp
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffleUp
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 c514103..557c135 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffleUp
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffleUp
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 c514103..557c135 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffleUp
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffleUp
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 c514103..557c135 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffleUp
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffleUp
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 c514103..557c135 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffleUp
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffleUp
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 f6a1415..738403f 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffleXor
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffleXor
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 f6a1415..738403f 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffleXor
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffleXor
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 f6a1415..738403f 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffleXor
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffleXor
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 f6a1415..738403f 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffleXor
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffleXor
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 f6a1415..738403f 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffleXor
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffleXor
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 f6a1415..738403f 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffleXor
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffleXor
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 f6a1415..738403f 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffleXor
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffleXor
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 f6a1415..738403f 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffleXor
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffleXor
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 f6a1415..738403f 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffleXor
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffleXor
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 f6a1415..738403f 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffleXor
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffleXor
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 f6a1415..738403f 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffleXor
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffleXor
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 f6a1415..738403f 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffleXor
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffleXor
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 f6a1415..738403f 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffleXor
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffleXor
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 f6a1415..738403f 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffleXor
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffleXor
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 f6a1415..738403f 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffleXor
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffleXor
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 f6a1415..738403f 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffleXor
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffleXor
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 dbea58e..3c92d03 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupXor
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupXor
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 dbea58e..3c92d03 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupXor
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupXor
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 dbea58e..3c92d03 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupXor
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupXor
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 dbea58e..3c92d03 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupXor
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupXor
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 dbea58e..3c92d03 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupXor
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupXor
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 dbea58e..3c92d03 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupXor
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupXor
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 dbea58e..3c92d03 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupXor
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupXor
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 dbea58e..3c92d03 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupXor
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupXor
 ********************************************************************
 *  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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 6aee132..1b7d6c4 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
@@ -10,8 +10,7 @@
 } v;
 uniform highp isampler1D arg_0;
 uint textureDimensions_022903() {
-  highp isampler1D v_1 = arg_0;
-  uint res = uint(textureSize(v_1, int(1u)));
+  uint res = uint(textureSize(arg_0, int(1u)));
   return res;
 }
 void main() {
@@ -32,8 +31,7 @@
 } v;
 uniform highp isampler1D arg_0;
 uint textureDimensions_022903() {
-  highp isampler1D v_1 = arg_0;
-  uint res = uint(textureSize(v_1, int(1u)));
+  uint res = uint(textureSize(arg_0, int(1u)));
   return res;
 }
 layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
@@ -58,8 +56,7 @@
 uniform highp isampler1D arg_0;
 layout(location = 0) flat out uint vertex_main_loc0_Output;
 uint textureDimensions_022903() {
-  highp isampler1D v = arg_0;
-  uint res = uint(textureSize(v, int(1u)));
+  uint res = uint(textureSize(arg_0, int(1u)));
   return res;
 }
 VertexOutput vertex_main_inner() {
@@ -69,11 +66,11 @@
   return tint_symbol;
 }
 void main() {
-  VertexOutput v_1 = vertex_main_inner();
-  gl_Position = v_1.pos;
+  VertexOutput v = vertex_main_inner();
+  gl_Position = v.pos;
   gl_Position[1u] = -(gl_Position.y);
   gl_Position[2u] = ((2.0f * gl_Position.z) - gl_Position.w);
-  vertex_main_loc0_Output = v_1.prevent_dce;
+  vertex_main_loc0_Output = v.prevent_dce;
   gl_PointSize = 1.0f;
 }
 error: Error parsing GLSL shader:
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 3910173..13a27a1 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,11 +1,87 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:994 internal compiler error: bgra8unorm should have been polyfilled to rgba8unorm
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  uint tint_symbol;
+} v;
+layout(binding = 0, rgba8) uniform highp readonly image1D arg_0;
+uint textureDimensions_2bafdf() {
+  uint res = uint(imageSize(arg_0));
+  return res;
+}
+void main() {
+  v.tint_symbol = textureDimensions_2bafdf();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:9: 'image1D' : Reserved word. 
+WARNING: 0:9: 'layout' : useless application of layout qualifier 
+ERROR: 0:9: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  uint tint_symbol;
+} v;
+layout(binding = 0, rgba8) uniform highp readonly image1D arg_0;
+uint textureDimensions_2bafdf() {
+  uint res = uint(imageSize(arg_0));
+  return res;
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  v.tint_symbol = textureDimensions_2bafdf();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:7: 'image1D' : Reserved word. 
+WARNING: 0:7: 'layout' : useless application of layout qualifier 
+ERROR: 0:7: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+
+struct VertexOutput {
+  vec4 pos;
+  uint prevent_dce;
+};
+
+layout(binding = 0, rgba8) uniform highp readonly image1D arg_0;
+layout(location = 0) flat out uint vertex_main_loc0_Output;
+uint textureDimensions_2bafdf() {
+  uint res = uint(imageSize(arg_0));
+  return res;
+}
+VertexOutput vertex_main_inner() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0u);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = textureDimensions_2bafdf();
+  return tint_symbol;
+}
+void main() {
+  VertexOutput v = vertex_main_inner();
+  gl_Position = v.pos;
+  gl_Position[1u] = -(gl_Position.y);
+  gl_Position[2u] = ((2.0f * gl_Position.z) - gl_Position.w);
+  vertex_main_loc0_Output = v.prevent_dce;
+  gl_PointSize = 1.0f;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:9: 'image1D' : Reserved word. 
+WARNING: 0:9: 'layout' : useless application of layout qualifier 
+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/literal/textureDimensions/325338.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureDimensions/325338.wgsl.expected.ir.glsl
index 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 023772f..6338d00 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:994 internal compiler error: bgra8unorm should have been polyfilled to rgba8unorm
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 023772f..6338d00 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:994 internal compiler error: bgra8unorm should have been polyfilled to rgba8unorm
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 023772f..6338d00 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:994 internal compiler error: bgra8unorm should have been polyfilled to rgba8unorm
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 023772f..6338d00 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:994 internal compiler error: bgra8unorm should have been polyfilled to rgba8unorm
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 3910173..e005440 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,11 +1,51 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:994 internal compiler error: bgra8unorm should have been polyfilled to rgba8unorm
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  uint tint_symbol;
+} v;
+layout(binding = 0, rgba8) uniform highp writeonly image1D arg_0;
+uint textureDimensions_84f363() {
+  uint res = uint(imageSize(arg_0));
+  return res;
+}
+void main() {
+  v.tint_symbol = textureDimensions_84f363();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:9: 'image1D' : Reserved word. 
+WARNING: 0:9: 'layout' : useless application of layout qualifier 
+ERROR: 0:9: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  uint tint_symbol;
+} v;
+layout(binding = 0, rgba8) uniform highp writeonly image1D arg_0;
+uint textureDimensions_84f363() {
+  uint res = uint(imageSize(arg_0));
+  return res;
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  v.tint_symbol = textureDimensions_84f363();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:7: 'image1D' : Reserved word. 
+WARNING: 0:7: 'layout' : useless application of layout qualifier 
+ERROR: 0:7: '' : 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/8a2b17.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureDimensions/8a2b17.wgsl.expected.ir.glsl
index 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 958e6f3..fc458cf 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
@@ -10,8 +10,7 @@
 } v;
 uniform highp usampler1D arg_0;
 uint textureDimensions_9c7a00() {
-  highp usampler1D v_1 = arg_0;
-  uint res = uint(textureSize(v_1, int(1u)));
+  uint res = uint(textureSize(arg_0, int(1u)));
   return res;
 }
 void main() {
@@ -32,8 +31,7 @@
 } v;
 uniform highp usampler1D arg_0;
 uint textureDimensions_9c7a00() {
-  highp usampler1D v_1 = arg_0;
-  uint res = uint(textureSize(v_1, int(1u)));
+  uint res = uint(textureSize(arg_0, int(1u)));
   return res;
 }
 layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
@@ -58,8 +56,7 @@
 uniform highp usampler1D arg_0;
 layout(location = 0) flat out uint vertex_main_loc0_Output;
 uint textureDimensions_9c7a00() {
-  highp usampler1D v = arg_0;
-  uint res = uint(textureSize(v, int(1u)));
+  uint res = uint(textureSize(arg_0, int(1u)));
   return res;
 }
 VertexOutput vertex_main_inner() {
@@ -69,11 +66,11 @@
   return tint_symbol;
 }
 void main() {
-  VertexOutput v_1 = vertex_main_inner();
-  gl_Position = v_1.pos;
+  VertexOutput v = vertex_main_inner();
+  gl_Position = v.pos;
   gl_Position[1u] = -(gl_Position.y);
   gl_Position[2u] = ((2.0f * gl_Position.z) - gl_Position.w);
-  vertex_main_loc0_Output = v_1.prevent_dce;
+  vertex_main_loc0_Output = v.prevent_dce;
   gl_PointSize = 1.0f;
 }
 error: Error parsing GLSL shader:
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 24267bd..245b172 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
@@ -10,8 +10,7 @@
 } v;
 uniform highp sampler1D arg_0;
 uint textureDimensions_aac604() {
-  highp sampler1D v_1 = arg_0;
-  uint res = uint(textureSize(v_1, int(1u)));
+  uint res = uint(textureSize(arg_0, int(1u)));
   return res;
 }
 void main() {
@@ -32,8 +31,7 @@
 } v;
 uniform highp sampler1D arg_0;
 uint textureDimensions_aac604() {
-  highp sampler1D v_1 = arg_0;
-  uint res = uint(textureSize(v_1, int(1u)));
+  uint res = uint(textureSize(arg_0, int(1u)));
   return res;
 }
 layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
@@ -58,8 +56,7 @@
 uniform highp sampler1D arg_0;
 layout(location = 0) flat out uint vertex_main_loc0_Output;
 uint textureDimensions_aac604() {
-  highp sampler1D v = arg_0;
-  uint res = uint(textureSize(v, int(1u)));
+  uint res = uint(textureSize(arg_0, int(1u)));
   return res;
 }
 VertexOutput vertex_main_inner() {
@@ -69,11 +66,11 @@
   return tint_symbol;
 }
 void main() {
-  VertexOutput v_1 = vertex_main_inner();
-  gl_Position = v_1.pos;
+  VertexOutput v = vertex_main_inner();
+  gl_Position = v.pos;
   gl_Position[1u] = -(gl_Position.y);
   gl_Position[2u] = ((2.0f * gl_Position.z) - gl_Position.w);
-  vertex_main_loc0_Output = v_1.prevent_dce;
+  vertex_main_loc0_Output = v.prevent_dce;
   gl_PointSize = 1.0f;
 }
 error: Error parsing GLSL shader:
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 e710f72..0bd3a3d 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGather
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGather
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 e710f72..0bd3a3d 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGather
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGather
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 e710f72..0bd3a3d 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGather
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGather
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 e710f72..0bd3a3d 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGather
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGather
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 e710f72..0bd3a3d 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGather
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGather
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 e710f72..0bd3a3d 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGather
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGather
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 e710f72..0bd3a3d 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGather
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGather
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 e710f72..0bd3a3d 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGather
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGather
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 e710f72..0bd3a3d 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGather
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGather
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 e710f72..0bd3a3d 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGather
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGather
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 e710f72..0bd3a3d 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGather
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGather
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 e710f72..0bd3a3d 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGather
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGather
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 e710f72..0bd3a3d 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGather
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGather
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 e710f72..0bd3a3d 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGather
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGather
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 e710f72..0bd3a3d 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGather
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGather
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 e710f72..0bd3a3d 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGather
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGather
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 e710f72..0bd3a3d 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGather
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGather
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 e710f72..0bd3a3d 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGather
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGather
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 e710f72..0bd3a3d 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGather
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGather
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 e710f72..0bd3a3d 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGather
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGather
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 e710f72..0bd3a3d 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGather
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGather
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 e710f72..0bd3a3d 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGather
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGather
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 e710f72..0bd3a3d 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGather
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGather
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 e710f72..0bd3a3d 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGather
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGather
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 e710f72..0bd3a3d 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGather
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGather
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 e710f72..0bd3a3d 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGather
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGather
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 e710f72..0bd3a3d 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGather
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGather
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 e710f72..0bd3a3d 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGather
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGather
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 e710f72..0bd3a3d 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGather
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGather
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 e710f72..0bd3a3d 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGather
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGather
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 e710f72..0bd3a3d 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGather
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGather
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 e710f72..0bd3a3d 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGather
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGather
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 e710f72..0bd3a3d 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGather
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGather
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 e710f72..0bd3a3d 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGather
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGather
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 e710f72..0bd3a3d 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGather
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGather
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 e710f72..0bd3a3d 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGather
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGather
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 e710f72..0bd3a3d 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGather
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGather
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 e710f72..0bd3a3d 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGather
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGather
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 e710f72..0bd3a3d 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGather
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGather
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 e710f72..0bd3a3d 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGather
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGather
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 e710f72..0bd3a3d 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGather
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGather
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 e710f72..0bd3a3d 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGather
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGather
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 e710f72..0bd3a3d 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGather
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGather
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 e710f72..0bd3a3d 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGather
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGather
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 e710f72..0bd3a3d 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGather
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGather
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 e710f72..0bd3a3d 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGather
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGather
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 e710f72..0bd3a3d 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGather
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGather
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 e710f72..0bd3a3d 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGather
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGather
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 e710f72..0bd3a3d 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGather
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGather
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 e710f72..0bd3a3d 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGather
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGather
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 e710f72..0bd3a3d 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGather
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGather
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 e710f72..0bd3a3d 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGather
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGather
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 e710f72..0bd3a3d 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGather
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGather
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 e710f72..0bd3a3d 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGather
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGather
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 e710f72..0bd3a3d 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGather
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGather
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 e710f72..0bd3a3d 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGather
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGather
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 e710f72..0bd3a3d 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGather
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGather
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 e710f72..0bd3a3d 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGather
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGather
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 e710f72..0bd3a3d 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGather
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGather
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 e710f72..0bd3a3d 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGather
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGather
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 e710f72..0bd3a3d 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGather
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGather
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 e710f72..0bd3a3d 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGather
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGather
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 e710f72..0bd3a3d 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGather
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGather
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 66a0703..17775c4 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGatherCompare
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGatherCompare
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 66a0703..17775c4 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGatherCompare
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGatherCompare
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 66a0703..17775c4 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGatherCompare
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGatherCompare
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 66a0703..17775c4 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGatherCompare
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGatherCompare
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 66a0703..17775c4 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGatherCompare
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGatherCompare
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 66a0703..17775c4 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGatherCompare
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGatherCompare
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 66a0703..17775c4 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGatherCompare
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGatherCompare
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 66a0703..17775c4 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGatherCompare
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGatherCompare
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 66a0703..17775c4 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGatherCompare
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGatherCompare
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 b475b2e..928ec74 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
+<dawn>/src/tint/lang/glsl/writer/raise/builtin_polyfill.cc:469 internal compiler error: TINT_ASSERT(!tex->Type()->Is<core::type::DepthTexture>())
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 b475b2e..664dc47 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,11 +1,87 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  ivec4 tint_symbol;
+} v;
+uniform highp isampler1D arg_0;
+ivec4 textureLoad_0cb698() {
+  int v_1 = int(1u);
+  ivec4 res = texelFetch(arg_0, v_1, int(1u));
+  return res;
+}
+void main() {
+  v.tint_symbol = textureLoad_0cb698();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:9: 'isampler1D' : Reserved word. 
+ERROR: 0:9: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  ivec4 tint_symbol;
+} v;
+uniform highp isampler1D arg_0;
+ivec4 textureLoad_0cb698() {
+  int v_1 = int(1u);
+  ivec4 res = texelFetch(arg_0, v_1, int(1u));
+  return res;
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  v.tint_symbol = textureLoad_0cb698();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:7: 'isampler1D' : Reserved word. 
+ERROR: 0:7: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+
+struct VertexOutput {
+  vec4 pos;
+  ivec4 prevent_dce;
+};
+
+uniform highp isampler1D arg_0;
+layout(location = 0) flat out ivec4 vertex_main_loc0_Output;
+ivec4 textureLoad_0cb698() {
+  int v = int(1u);
+  ivec4 res = texelFetch(arg_0, v, int(1u));
+  return res;
+}
+VertexOutput vertex_main_inner() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), ivec4(0));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = textureLoad_0cb698();
+  return tint_symbol;
+}
+void main() {
+  VertexOutput v_1 = vertex_main_inner();
+  gl_Position = v_1.pos;
+  gl_Position[1u] = -(gl_Position.y);
+  gl_Position[2u] = ((2.0f * gl_Position.z) - gl_Position.w);
+  vertex_main_loc0_Output = v_1.prevent_dce;
+  gl_PointSize = 1.0f;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:9: 'isampler1D' : Reserved word. 
+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/literal/textureLoad/1373dc.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/1373dc.wgsl.expected.ir.glsl
index b475b2e..a91910a 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,11 +1,87 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  vec4 tint_symbol;
+} v;
+uniform highp sampler1D arg_0;
+vec4 textureLoad_1373dc() {
+  int v_1 = int(1u);
+  vec4 res = texelFetch(arg_0, v_1, int(1));
+  return res;
+}
+void main() {
+  v.tint_symbol = textureLoad_1373dc();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:9: 'sampler1D' : Reserved word. 
+ERROR: 0:9: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  vec4 tint_symbol;
+} v;
+uniform highp sampler1D arg_0;
+vec4 textureLoad_1373dc() {
+  int v_1 = int(1u);
+  vec4 res = texelFetch(arg_0, v_1, int(1));
+  return res;
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  v.tint_symbol = textureLoad_1373dc();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:7: 'sampler1D' : Reserved word. 
+ERROR: 0:7: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+uniform highp sampler1D arg_0;
+layout(location = 0) flat out vec4 vertex_main_loc0_Output;
+vec4 textureLoad_1373dc() {
+  int v = int(1u);
+  vec4 res = texelFetch(arg_0, v, int(1));
+  return res;
+}
+VertexOutput vertex_main_inner() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = textureLoad_1373dc();
+  return tint_symbol;
+}
+void main() {
+  VertexOutput v_1 = vertex_main_inner();
+  gl_Position = v_1.pos;
+  gl_Position[1u] = -(gl_Position.y);
+  gl_Position[2u] = ((2.0f * gl_Position.z) - gl_Position.w);
+  vertex_main_loc0_Output = v_1.prevent_dce;
+  gl_PointSize = 1.0f;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:9: 'sampler1D' : Reserved word. 
+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/literal/textureLoad/14cc4c.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/14cc4c.wgsl.expected.ir.glsl
index 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 b475b2e..a7ccf11 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,11 +1,87 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  uvec4 tint_symbol;
+} v;
+layout(binding = 0, r32ui) uniform highp readonly uimage1D arg_0;
+uvec4 textureLoad_1561a7() {
+  uvec4 res = imageLoad(arg_0, int(1));
+  return res;
+}
+void main() {
+  v.tint_symbol = textureLoad_1561a7();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:9: 'uimage1D' : Reserved word. 
+WARNING: 0:9: 'layout' : useless application of layout qualifier 
+ERROR: 0:9: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  uvec4 tint_symbol;
+} v;
+layout(binding = 0, r32ui) uniform highp readonly uimage1D arg_0;
+uvec4 textureLoad_1561a7() {
+  uvec4 res = imageLoad(arg_0, int(1));
+  return res;
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  v.tint_symbol = textureLoad_1561a7();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:7: 'uimage1D' : Reserved word. 
+WARNING: 0:7: 'layout' : useless application of layout qualifier 
+ERROR: 0:7: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+
+struct VertexOutput {
+  vec4 pos;
+  uvec4 prevent_dce;
+};
+
+layout(binding = 0, r32ui) uniform highp readonly uimage1D arg_0;
+layout(location = 0) flat out uvec4 vertex_main_loc0_Output;
+uvec4 textureLoad_1561a7() {
+  uvec4 res = imageLoad(arg_0, int(1));
+  return res;
+}
+VertexOutput vertex_main_inner() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), uvec4(0u));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = textureLoad_1561a7();
+  return tint_symbol;
+}
+void main() {
+  VertexOutput v = vertex_main_inner();
+  gl_Position = v.pos;
+  gl_Position[1u] = -(gl_Position.y);
+  gl_Position[2u] = ((2.0f * gl_Position.z) - gl_Position.w);
+  vertex_main_loc0_Output = v.prevent_dce;
+  gl_PointSize = 1.0f;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:9: 'uimage1D' : Reserved word. 
+WARNING: 0:9: 'layout' : useless application of layout qualifier 
+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/literal/textureLoad/170593.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/170593.wgsl.expected.ir.glsl
index 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 b475b2e..928ec74 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
+<dawn>/src/tint/lang/glsl/writer/raise/builtin_polyfill.cc:469 internal compiler error: TINT_ASSERT(!tex->Type()->Is<core::type::DepthTexture>())
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 b475b2e..b2b376c 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,11 +1,87 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  uvec4 tint_symbol;
+} v;
+layout(binding = 0, rgba8ui) uniform highp readonly uimage1D arg_0;
+uvec4 textureLoad_1a8452() {
+  uvec4 res = imageLoad(arg_0, int(1));
+  return res;
+}
+void main() {
+  v.tint_symbol = textureLoad_1a8452();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:9: 'uimage1D' : Reserved word. 
+WARNING: 0:9: 'layout' : useless application of layout qualifier 
+ERROR: 0:9: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  uvec4 tint_symbol;
+} v;
+layout(binding = 0, rgba8ui) uniform highp readonly uimage1D arg_0;
+uvec4 textureLoad_1a8452() {
+  uvec4 res = imageLoad(arg_0, int(1));
+  return res;
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  v.tint_symbol = textureLoad_1a8452();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:7: 'uimage1D' : Reserved word. 
+WARNING: 0:7: 'layout' : useless application of layout qualifier 
+ERROR: 0:7: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+
+struct VertexOutput {
+  vec4 pos;
+  uvec4 prevent_dce;
+};
+
+layout(binding = 0, rgba8ui) uniform highp readonly uimage1D arg_0;
+layout(location = 0) flat out uvec4 vertex_main_loc0_Output;
+uvec4 textureLoad_1a8452() {
+  uvec4 res = imageLoad(arg_0, int(1));
+  return res;
+}
+VertexOutput vertex_main_inner() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), uvec4(0u));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = textureLoad_1a8452();
+  return tint_symbol;
+}
+void main() {
+  VertexOutput v = vertex_main_inner();
+  gl_Position = v.pos;
+  gl_Position[1u] = -(gl_Position.y);
+  gl_Position[2u] = ((2.0f * gl_Position.z) - gl_Position.w);
+  vertex_main_loc0_Output = v.prevent_dce;
+  gl_PointSize = 1.0f;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:9: 'uimage1D' : Reserved word. 
+WARNING: 0:9: 'layout' : useless application of layout qualifier 
+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/literal/textureLoad/1b8588.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/1b8588.wgsl.expected.ir.glsl
index b475b2e..90a5900 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,11 +1,87 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  uvec4 tint_symbol;
+} v;
+uniform highp usampler1D arg_0;
+uvec4 textureLoad_1b8588() {
+  int v_1 = int(1);
+  uvec4 res = texelFetch(arg_0, v_1, int(1));
+  return res;
+}
+void main() {
+  v.tint_symbol = textureLoad_1b8588();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:9: 'usampler1D' : Reserved word. 
+ERROR: 0:9: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  uvec4 tint_symbol;
+} v;
+uniform highp usampler1D arg_0;
+uvec4 textureLoad_1b8588() {
+  int v_1 = int(1);
+  uvec4 res = texelFetch(arg_0, v_1, int(1));
+  return res;
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  v.tint_symbol = textureLoad_1b8588();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:7: 'usampler1D' : Reserved word. 
+ERROR: 0:7: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+
+struct VertexOutput {
+  vec4 pos;
+  uvec4 prevent_dce;
+};
+
+uniform highp usampler1D arg_0;
+layout(location = 0) flat out uvec4 vertex_main_loc0_Output;
+uvec4 textureLoad_1b8588() {
+  int v = int(1);
+  uvec4 res = texelFetch(arg_0, v, int(1));
+  return res;
+}
+VertexOutput vertex_main_inner() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), uvec4(0u));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = textureLoad_1b8588();
+  return tint_symbol;
+}
+void main() {
+  VertexOutput v_1 = vertex_main_inner();
+  gl_Position = v_1.pos;
+  gl_Position[1u] = -(gl_Position.y);
+  gl_Position[2u] = ((2.0f * gl_Position.z) - gl_Position.w);
+  vertex_main_loc0_Output = v_1.prevent_dce;
+  gl_PointSize = 1.0f;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:9: 'usampler1D' : Reserved word. 
+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/literal/textureLoad/1bc5ab.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/1bc5ab.wgsl.expected.ir.glsl
index 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 b475b2e..121e468 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,11 +1,87 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  uvec4 tint_symbol;
+} v;
+layout(binding = 0, rgba8ui) uniform highp readonly uimage1D arg_0;
+uvec4 textureLoad_206a08() {
+  uvec4 res = imageLoad(arg_0, int(1u));
+  return res;
+}
+void main() {
+  v.tint_symbol = textureLoad_206a08();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:9: 'uimage1D' : Reserved word. 
+WARNING: 0:9: 'layout' : useless application of layout qualifier 
+ERROR: 0:9: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  uvec4 tint_symbol;
+} v;
+layout(binding = 0, rgba8ui) uniform highp readonly uimage1D arg_0;
+uvec4 textureLoad_206a08() {
+  uvec4 res = imageLoad(arg_0, int(1u));
+  return res;
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  v.tint_symbol = textureLoad_206a08();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:7: 'uimage1D' : Reserved word. 
+WARNING: 0:7: 'layout' : useless application of layout qualifier 
+ERROR: 0:7: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+
+struct VertexOutput {
+  vec4 pos;
+  uvec4 prevent_dce;
+};
+
+layout(binding = 0, rgba8ui) uniform highp readonly uimage1D arg_0;
+layout(location = 0) flat out uvec4 vertex_main_loc0_Output;
+uvec4 textureLoad_206a08() {
+  uvec4 res = imageLoad(arg_0, int(1u));
+  return res;
+}
+VertexOutput vertex_main_inner() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), uvec4(0u));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = textureLoad_206a08();
+  return tint_symbol;
+}
+void main() {
+  VertexOutput v = vertex_main_inner();
+  gl_Position = v.pos;
+  gl_Position[1u] = -(gl_Position.y);
+  gl_Position[2u] = ((2.0f * gl_Position.z) - gl_Position.w);
+  vertex_main_loc0_Output = v.prevent_dce;
+  gl_PointSize = 1.0f;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:9: 'uimage1D' : Reserved word. 
+WARNING: 0:9: 'layout' : useless application of layout qualifier 
+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/literal/textureLoad/216c37.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/216c37.wgsl.expected.ir.glsl
index b475b2e..1e7ae56 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,11 +1,87 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  uvec4 tint_symbol;
+} v;
+uniform highp usampler1D arg_0;
+uvec4 textureLoad_216c37() {
+  int v_1 = int(1u);
+  uvec4 res = texelFetch(arg_0, v_1, int(1));
+  return res;
+}
+void main() {
+  v.tint_symbol = textureLoad_216c37();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:9: 'usampler1D' : Reserved word. 
+ERROR: 0:9: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  uvec4 tint_symbol;
+} v;
+uniform highp usampler1D arg_0;
+uvec4 textureLoad_216c37() {
+  int v_1 = int(1u);
+  uvec4 res = texelFetch(arg_0, v_1, int(1));
+  return res;
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  v.tint_symbol = textureLoad_216c37();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:7: 'usampler1D' : Reserved word. 
+ERROR: 0:7: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+
+struct VertexOutput {
+  vec4 pos;
+  uvec4 prevent_dce;
+};
+
+uniform highp usampler1D arg_0;
+layout(location = 0) flat out uvec4 vertex_main_loc0_Output;
+uvec4 textureLoad_216c37() {
+  int v = int(1u);
+  uvec4 res = texelFetch(arg_0, v, int(1));
+  return res;
+}
+VertexOutput vertex_main_inner() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), uvec4(0u));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = textureLoad_216c37();
+  return tint_symbol;
+}
+void main() {
+  VertexOutput v_1 = vertex_main_inner();
+  gl_Position = v_1.pos;
+  gl_Position[1u] = -(gl_Position.y);
+  gl_Position[2u] = ((2.0f * gl_Position.z) - gl_Position.w);
+  vertex_main_loc0_Output = v_1.prevent_dce;
+  gl_PointSize = 1.0f;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:9: 'usampler1D' : Reserved word. 
+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/literal/textureLoad/25b67f.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/25b67f.wgsl.expected.ir.glsl
index 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 b475b2e..63822c5 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,11 +1,87 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  uvec4 tint_symbol;
+} v;
+layout(binding = 0, rgba32ui) uniform highp readonly uimage1D arg_0;
+uvec4 textureLoad_276a2c() {
+  uvec4 res = imageLoad(arg_0, int(1));
+  return res;
+}
+void main() {
+  v.tint_symbol = textureLoad_276a2c();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:9: 'uimage1D' : Reserved word. 
+WARNING: 0:9: 'layout' : useless application of layout qualifier 
+ERROR: 0:9: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  uvec4 tint_symbol;
+} v;
+layout(binding = 0, rgba32ui) uniform highp readonly uimage1D arg_0;
+uvec4 textureLoad_276a2c() {
+  uvec4 res = imageLoad(arg_0, int(1));
+  return res;
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  v.tint_symbol = textureLoad_276a2c();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:7: 'uimage1D' : Reserved word. 
+WARNING: 0:7: 'layout' : useless application of layout qualifier 
+ERROR: 0:7: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+
+struct VertexOutput {
+  vec4 pos;
+  uvec4 prevent_dce;
+};
+
+layout(binding = 0, rgba32ui) uniform highp readonly uimage1D arg_0;
+layout(location = 0) flat out uvec4 vertex_main_loc0_Output;
+uvec4 textureLoad_276a2c() {
+  uvec4 res = imageLoad(arg_0, int(1));
+  return res;
+}
+VertexOutput vertex_main_inner() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), uvec4(0u));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = textureLoad_276a2c();
+  return tint_symbol;
+}
+void main() {
+  VertexOutput v = vertex_main_inner();
+  gl_Position = v.pos;
+  gl_Position[1u] = -(gl_Position.y);
+  gl_Position[2u] = ((2.0f * gl_Position.z) - gl_Position.w);
+  vertex_main_loc0_Output = v.prevent_dce;
+  gl_PointSize = 1.0f;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:9: 'uimage1D' : Reserved word. 
+WARNING: 0:9: 'layout' : useless application of layout qualifier 
+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/literal/textureLoad/2887d7.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/2887d7.wgsl.expected.ir.glsl
index b475b2e..7b44843 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,11 +1,87 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  vec4 tint_symbol;
+} v;
+layout(binding = 0, rgba32f) uniform highp readonly image1D arg_0;
+vec4 textureLoad_2887d7() {
+  vec4 res = imageLoad(arg_0, int(1));
+  return res;
+}
+void main() {
+  v.tint_symbol = textureLoad_2887d7();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:9: 'image1D' : Reserved word. 
+WARNING: 0:9: 'layout' : useless application of layout qualifier 
+ERROR: 0:9: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  vec4 tint_symbol;
+} v;
+layout(binding = 0, rgba32f) uniform highp readonly image1D arg_0;
+vec4 textureLoad_2887d7() {
+  vec4 res = imageLoad(arg_0, int(1));
+  return res;
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  v.tint_symbol = textureLoad_2887d7();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:7: 'image1D' : Reserved word. 
+WARNING: 0:7: 'layout' : useless application of layout qualifier 
+ERROR: 0:7: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+layout(binding = 0, rgba32f) uniform highp readonly image1D arg_0;
+layout(location = 0) flat out vec4 vertex_main_loc0_Output;
+vec4 textureLoad_2887d7() {
+  vec4 res = imageLoad(arg_0, int(1));
+  return res;
+}
+VertexOutput vertex_main_inner() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = textureLoad_2887d7();
+  return tint_symbol;
+}
+void main() {
+  VertexOutput v = vertex_main_inner();
+  gl_Position = v.pos;
+  gl_Position[1u] = -(gl_Position.y);
+  gl_Position[2u] = ((2.0f * gl_Position.z) - gl_Position.w);
+  vertex_main_loc0_Output = v.prevent_dce;
+  gl_PointSize = 1.0f;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:9: 'image1D' : Reserved word. 
+WARNING: 0:9: 'layout' : useless application of layout qualifier 
+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/literal/textureLoad/2cee30.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/2cee30.wgsl.expected.ir.glsl
index 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 023772f..6338d00 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:994 internal compiler error: bgra8unorm should have been polyfilled to rgba8unorm
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 b475b2e..225c77f 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,11 +1,87 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  uvec4 tint_symbol;
+} v;
+layout(binding = 0, r32ui) uniform highp readonly uimage1D arg_0;
+uvec4 textureLoad_31db4b() {
+  uvec4 res = imageLoad(arg_0, int(1u));
+  return res;
+}
+void main() {
+  v.tint_symbol = textureLoad_31db4b();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:9: 'uimage1D' : Reserved word. 
+WARNING: 0:9: 'layout' : useless application of layout qualifier 
+ERROR: 0:9: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  uvec4 tint_symbol;
+} v;
+layout(binding = 0, r32ui) uniform highp readonly uimage1D arg_0;
+uvec4 textureLoad_31db4b() {
+  uvec4 res = imageLoad(arg_0, int(1u));
+  return res;
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  v.tint_symbol = textureLoad_31db4b();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:7: 'uimage1D' : Reserved word. 
+WARNING: 0:7: 'layout' : useless application of layout qualifier 
+ERROR: 0:7: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+
+struct VertexOutput {
+  vec4 pos;
+  uvec4 prevent_dce;
+};
+
+layout(binding = 0, r32ui) uniform highp readonly uimage1D arg_0;
+layout(location = 0) flat out uvec4 vertex_main_loc0_Output;
+uvec4 textureLoad_31db4b() {
+  uvec4 res = imageLoad(arg_0, int(1u));
+  return res;
+}
+VertexOutput vertex_main_inner() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), uvec4(0u));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = textureLoad_31db4b();
+  return tint_symbol;
+}
+void main() {
+  VertexOutput v = vertex_main_inner();
+  gl_Position = v.pos;
+  gl_Position[1u] = -(gl_Position.y);
+  gl_Position[2u] = ((2.0f * gl_Position.z) - gl_Position.w);
+  vertex_main_loc0_Output = v.prevent_dce;
+  gl_PointSize = 1.0f;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:9: 'uimage1D' : Reserved word. 
+WARNING: 0:9: 'layout' : useless application of layout qualifier 
+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/literal/textureLoad/32a7b8.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/32a7b8.wgsl.expected.ir.glsl
index 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 b475b2e..56c7f2c 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,11 +1,87 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  ivec4 tint_symbol;
+} v;
+layout(binding = 0, rgba32i) uniform highp readonly iimage1D arg_0;
+ivec4 textureLoad_33d3aa() {
+  ivec4 res = imageLoad(arg_0, int(1u));
+  return res;
+}
+void main() {
+  v.tint_symbol = textureLoad_33d3aa();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:9: 'iimage1D' : Reserved word. 
+WARNING: 0:9: 'layout' : useless application of layout qualifier 
+ERROR: 0:9: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  ivec4 tint_symbol;
+} v;
+layout(binding = 0, rgba32i) uniform highp readonly iimage1D arg_0;
+ivec4 textureLoad_33d3aa() {
+  ivec4 res = imageLoad(arg_0, int(1u));
+  return res;
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  v.tint_symbol = textureLoad_33d3aa();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:7: 'iimage1D' : Reserved word. 
+WARNING: 0:7: 'layout' : useless application of layout qualifier 
+ERROR: 0:7: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+
+struct VertexOutput {
+  vec4 pos;
+  ivec4 prevent_dce;
+};
+
+layout(binding = 0, rgba32i) uniform highp readonly iimage1D arg_0;
+layout(location = 0) flat out ivec4 vertex_main_loc0_Output;
+ivec4 textureLoad_33d3aa() {
+  ivec4 res = imageLoad(arg_0, int(1u));
+  return res;
+}
+VertexOutput vertex_main_inner() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), ivec4(0));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = textureLoad_33d3aa();
+  return tint_symbol;
+}
+void main() {
+  VertexOutput v = vertex_main_inner();
+  gl_Position = v.pos;
+  gl_Position[1u] = -(gl_Position.y);
+  gl_Position[2u] = ((2.0f * gl_Position.z) - gl_Position.w);
+  vertex_main_loc0_Output = v.prevent_dce;
+  gl_PointSize = 1.0f;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:9: 'iimage1D' : Reserved word. 
+WARNING: 0:9: 'layout' : useless application of layout qualifier 
+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/literal/textureLoad/388688.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/388688.wgsl.expected.ir.glsl
index b475b2e..05c80d1 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,11 +1,87 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  vec4 tint_symbol;
+} v;
+layout(binding = 0, rgba8_snorm) uniform highp readonly image1D arg_0;
+vec4 textureLoad_388688() {
+  vec4 res = imageLoad(arg_0, int(1u));
+  return res;
+}
+void main() {
+  v.tint_symbol = textureLoad_388688();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:9: 'image1D' : Reserved word. 
+WARNING: 0:9: 'layout' : useless application of layout qualifier 
+ERROR: 0:9: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  vec4 tint_symbol;
+} v;
+layout(binding = 0, rgba8_snorm) uniform highp readonly image1D arg_0;
+vec4 textureLoad_388688() {
+  vec4 res = imageLoad(arg_0, int(1u));
+  return res;
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  v.tint_symbol = textureLoad_388688();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:7: 'image1D' : Reserved word. 
+WARNING: 0:7: 'layout' : useless application of layout qualifier 
+ERROR: 0:7: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+layout(binding = 0, rgba8_snorm) uniform highp readonly image1D arg_0;
+layout(location = 0) flat out vec4 vertex_main_loc0_Output;
+vec4 textureLoad_388688() {
+  vec4 res = imageLoad(arg_0, int(1u));
+  return res;
+}
+VertexOutput vertex_main_inner() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = textureLoad_388688();
+  return tint_symbol;
+}
+void main() {
+  VertexOutput v = vertex_main_inner();
+  gl_Position = v.pos;
+  gl_Position[1u] = -(gl_Position.y);
+  gl_Position[2u] = ((2.0f * gl_Position.z) - gl_Position.w);
+  vertex_main_loc0_Output = v.prevent_dce;
+  gl_PointSize = 1.0f;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:9: 'image1D' : Reserved word. 
+WARNING: 0:9: 'layout' : useless application of layout qualifier 
+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/literal/textureLoad/39016c.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/39016c.wgsl.expected.ir.glsl
index 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 b475b2e..3494ee2 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,11 +1,87 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  vec4 tint_symbol;
+} v;
+layout(binding = 0, rgba16f) uniform highp readonly image1D arg_0;
+vec4 textureLoad_39ef40() {
+  vec4 res = imageLoad(arg_0, int(1u));
+  return res;
+}
+void main() {
+  v.tint_symbol = textureLoad_39ef40();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:9: 'image1D' : Reserved word. 
+WARNING: 0:9: 'layout' : useless application of layout qualifier 
+ERROR: 0:9: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  vec4 tint_symbol;
+} v;
+layout(binding = 0, rgba16f) uniform highp readonly image1D arg_0;
+vec4 textureLoad_39ef40() {
+  vec4 res = imageLoad(arg_0, int(1u));
+  return res;
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  v.tint_symbol = textureLoad_39ef40();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:7: 'image1D' : Reserved word. 
+WARNING: 0:7: 'layout' : useless application of layout qualifier 
+ERROR: 0:7: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+layout(binding = 0, rgba16f) uniform highp readonly image1D arg_0;
+layout(location = 0) flat out vec4 vertex_main_loc0_Output;
+vec4 textureLoad_39ef40() {
+  vec4 res = imageLoad(arg_0, int(1u));
+  return res;
+}
+VertexOutput vertex_main_inner() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = textureLoad_39ef40();
+  return tint_symbol;
+}
+void main() {
+  VertexOutput v = vertex_main_inner();
+  gl_Position = v.pos;
+  gl_Position[1u] = -(gl_Position.y);
+  gl_Position[2u] = ((2.0f * gl_Position.z) - gl_Position.w);
+  vertex_main_loc0_Output = v.prevent_dce;
+  gl_PointSize = 1.0f;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:9: 'image1D' : Reserved word. 
+WARNING: 0:9: 'layout' : useless application of layout qualifier 
+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/literal/textureLoad/3a2350.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/3a2350.wgsl.expected.ir.glsl
index 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 b475b2e..dfdb111 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,11 +1,51 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  vec4 tint_symbol;
+} v;
+layout(binding = 0, r32f) uniform highp image1D arg_0;
+vec4 textureLoad_3bbc2b() {
+  vec4 res = imageLoad(arg_0, int(1));
+  return res;
+}
+void main() {
+  v.tint_symbol = textureLoad_3bbc2b();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:9: 'image1D' : Reserved word. 
+WARNING: 0:9: 'layout' : useless application of layout qualifier 
+ERROR: 0:9: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  vec4 tint_symbol;
+} v;
+layout(binding = 0, r32f) uniform highp image1D arg_0;
+vec4 textureLoad_3bbc2b() {
+  vec4 res = imageLoad(arg_0, int(1));
+  return res;
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  v.tint_symbol = textureLoad_3bbc2b();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:7: 'image1D' : Reserved word. 
+WARNING: 0:7: 'layout' : useless application of layout qualifier 
+ERROR: 0:7: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 b475b2e..54ade1a 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,11 +1,87 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  vec4 tint_symbol;
+} v;
+uniform highp sampler1D arg_0;
+vec4 textureLoad_3da3ed() {
+  int v_1 = int(1);
+  vec4 res = texelFetch(arg_0, v_1, int(1u));
+  return res;
+}
+void main() {
+  v.tint_symbol = textureLoad_3da3ed();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:9: 'sampler1D' : Reserved word. 
+ERROR: 0:9: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  vec4 tint_symbol;
+} v;
+uniform highp sampler1D arg_0;
+vec4 textureLoad_3da3ed() {
+  int v_1 = int(1);
+  vec4 res = texelFetch(arg_0, v_1, int(1u));
+  return res;
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  v.tint_symbol = textureLoad_3da3ed();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:7: 'sampler1D' : Reserved word. 
+ERROR: 0:7: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+uniform highp sampler1D arg_0;
+layout(location = 0) flat out vec4 vertex_main_loc0_Output;
+vec4 textureLoad_3da3ed() {
+  int v = int(1);
+  vec4 res = texelFetch(arg_0, v, int(1u));
+  return res;
+}
+VertexOutput vertex_main_inner() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = textureLoad_3da3ed();
+  return tint_symbol;
+}
+void main() {
+  VertexOutput v_1 = vertex_main_inner();
+  gl_Position = v_1.pos;
+  gl_Position[1u] = -(gl_Position.y);
+  gl_Position[2u] = ((2.0f * gl_Position.z) - gl_Position.w);
+  vertex_main_loc0_Output = v_1.prevent_dce;
+  gl_PointSize = 1.0f;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:9: 'sampler1D' : Reserved word. 
+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/literal/textureLoad/40ee8b.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/40ee8b.wgsl.expected.ir.glsl
index 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 b475b2e..09f36ad 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,11 +1,87 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  uvec4 tint_symbol;
+} v;
+layout(binding = 0, rgba32ui) uniform highp readonly uimage1D arg_0;
+uvec4 textureLoad_454347() {
+  uvec4 res = imageLoad(arg_0, int(1u));
+  return res;
+}
+void main() {
+  v.tint_symbol = textureLoad_454347();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:9: 'uimage1D' : Reserved word. 
+WARNING: 0:9: 'layout' : useless application of layout qualifier 
+ERROR: 0:9: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  uvec4 tint_symbol;
+} v;
+layout(binding = 0, rgba32ui) uniform highp readonly uimage1D arg_0;
+uvec4 textureLoad_454347() {
+  uvec4 res = imageLoad(arg_0, int(1u));
+  return res;
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  v.tint_symbol = textureLoad_454347();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:7: 'uimage1D' : Reserved word. 
+WARNING: 0:7: 'layout' : useless application of layout qualifier 
+ERROR: 0:7: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+
+struct VertexOutput {
+  vec4 pos;
+  uvec4 prevent_dce;
+};
+
+layout(binding = 0, rgba32ui) uniform highp readonly uimage1D arg_0;
+layout(location = 0) flat out uvec4 vertex_main_loc0_Output;
+uvec4 textureLoad_454347() {
+  uvec4 res = imageLoad(arg_0, int(1u));
+  return res;
+}
+VertexOutput vertex_main_inner() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), uvec4(0u));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = textureLoad_454347();
+  return tint_symbol;
+}
+void main() {
+  VertexOutput v = vertex_main_inner();
+  gl_Position = v.pos;
+  gl_Position[1u] = -(gl_Position.y);
+  gl_Position[2u] = ((2.0f * gl_Position.z) - gl_Position.w);
+  vertex_main_loc0_Output = v.prevent_dce;
+  gl_PointSize = 1.0f;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:9: 'uimage1D' : Reserved word. 
+WARNING: 0:9: 'layout' : useless application of layout qualifier 
+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/literal/textureLoad/473d3e.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/473d3e.wgsl.expected.ir.glsl
index 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 b475b2e..018d32b 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,11 +1,87 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  ivec4 tint_symbol;
+} v;
+uniform highp isampler1D arg_0;
+ivec4 textureLoad_4c423f() {
+  int v_1 = int(1u);
+  ivec4 res = texelFetch(arg_0, v_1, int(1));
+  return res;
+}
+void main() {
+  v.tint_symbol = textureLoad_4c423f();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:9: 'isampler1D' : Reserved word. 
+ERROR: 0:9: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  ivec4 tint_symbol;
+} v;
+uniform highp isampler1D arg_0;
+ivec4 textureLoad_4c423f() {
+  int v_1 = int(1u);
+  ivec4 res = texelFetch(arg_0, v_1, int(1));
+  return res;
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  v.tint_symbol = textureLoad_4c423f();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:7: 'isampler1D' : Reserved word. 
+ERROR: 0:7: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+
+struct VertexOutput {
+  vec4 pos;
+  ivec4 prevent_dce;
+};
+
+uniform highp isampler1D arg_0;
+layout(location = 0) flat out ivec4 vertex_main_loc0_Output;
+ivec4 textureLoad_4c423f() {
+  int v = int(1u);
+  ivec4 res = texelFetch(arg_0, v, int(1));
+  return res;
+}
+VertexOutput vertex_main_inner() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), ivec4(0));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = textureLoad_4c423f();
+  return tint_symbol;
+}
+void main() {
+  VertexOutput v_1 = vertex_main_inner();
+  gl_Position = v_1.pos;
+  gl_Position[1u] = -(gl_Position.y);
+  gl_Position[2u] = ((2.0f * gl_Position.z) - gl_Position.w);
+  vertex_main_loc0_Output = v_1.prevent_dce;
+  gl_PointSize = 1.0f;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:9: 'isampler1D' : Reserved word. 
+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/literal/textureLoad/4db25c.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/4db25c.wgsl.expected.ir.glsl
index b475b2e..2efea32 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,11 +1,228 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
 
-tint executable returned error: signal: trace/BPT trap
+@group(0) @binding(0) var<storage, read_write> prevent_dce : f32;
+
+@group(1) @binding(0) var arg_0 : texture_depth_multisampled_2d;
+
+fn textureLoad_4db25c() -> f32 {
+  var res : f32 = textureLoad(arg_0, vec2<u32>(1u), 1u);
+  return res;
+}
+
+struct VertexOutput {
+  @builtin(position)
+  pos : vec4<f32>,
+  @location(0) @interpolate(flat)
+  prevent_dce : f32,
+}
+
+@fragment
+fn fragment_main() {
+  prevent_dce = textureLoad_4db25c();
+}
+
+Failed to generate: :15:14 error: glsl.texelFetch: no matching call to 'glsl.texelFetch(texture_depth_multisampled_2d, vec2<i32>, i32)'
+
+5 candidate functions:
+ • 'glsl.texelFetch(texture: texture_2d<T>  ✗ , location: vec2<i32>  ✓ , level: i32  ✓ ) -> vec4<T>' where:
+      ✗  'T' is 'f32', 'i32' or 'u32'
+ • 'glsl.texelFetch(texture: texture_multisampled_2d<T>  ✗ , location: vec2<i32>  ✓ , sample_index: i32  ✓ ) -> vec4<T>' where:
+      ✗  'T' is 'f32', 'i32' or 'u32'
+ • 'glsl.texelFetch(texture: texture_1d<T>  ✗ , location: i32  ✗ , level: i32  ✓ ) -> vec4<T>' where:
+      ✗  'T' is 'f32', 'i32' or 'u32'
+ • 'glsl.texelFetch(texture: texture_2d_array<T>  ✗ , location: vec3<i32>  ✗ , level: i32  ✓ ) -> vec4<T>' where:
+      ✗  'T' is 'f32', 'i32' or 'u32'
+ • 'glsl.texelFetch(texture: texture_3d<T>  ✗ , location: vec3<i32>  ✗ , level: i32  ✓ ) -> vec4<T>' where:
+      ✗  'T' is 'f32', 'i32' or 'u32'
+
+    %7:f32 = glsl.texelFetch %4, %5, %6
+             ^^^^^^^^^^^^^^^
+
+:11:3 note: in block
+  $B2: {
+  ^^^
+
+note: # Disassembly
+tint_symbol_1 = struct @align(4), @block {
+  tint_symbol:f32 @offset(0)
+}
+
+$B1: {  # root
+  %1:ptr<storage, tint_symbol_1, read_write> = var @binding_point(0, 0)
+  %arg_0:ptr<handle, texture_depth_multisampled_2d, read> = var @binding_point(0, 0)
+}
+
+%textureLoad_4db25c = func():f32 {
+  $B2: {
+    %4:texture_depth_multisampled_2d = load %arg_0
+    %5:vec2<i32> = convert vec2<u32>(1u)
+    %6:i32 = convert 1u
+    %7:f32 = glsl.texelFetch %4, %5, %6
+    %res:ptr<function, f32, read_write> = var, %7
+    %9:f32 = load %res
+    ret %9
+  }
+}
+%fragment_main = @fragment func():void {
+  $B3: {
+    %11:f32 = call %textureLoad_4db25c
+    %12:ptr<storage, f32, read_write> = access %1, 0u
+    store %12, %11
+    ret
+  }
+}
+
+
+@group(0) @binding(0) var<storage, read_write> prevent_dce : f32;
+
+@group(1) @binding(0) var arg_0 : texture_depth_multisampled_2d;
+
+fn textureLoad_4db25c() -> f32 {
+  var res : f32 = textureLoad(arg_0, vec2<u32>(1u), 1u);
+  return res;
+}
+
+struct VertexOutput {
+  @builtin(position)
+  pos : vec4<f32>,
+  @location(0) @interpolate(flat)
+  prevent_dce : f32,
+}
+
+@compute @workgroup_size(1)
+fn compute_main() {
+  prevent_dce = textureLoad_4db25c();
+}
+
+Failed to generate: :15:14 error: glsl.texelFetch: no matching call to 'glsl.texelFetch(texture_depth_multisampled_2d, vec2<i32>, i32)'
+
+5 candidate functions:
+ • 'glsl.texelFetch(texture: texture_2d<T>  ✗ , location: vec2<i32>  ✓ , level: i32  ✓ ) -> vec4<T>' where:
+      ✗  'T' is 'f32', 'i32' or 'u32'
+ • 'glsl.texelFetch(texture: texture_multisampled_2d<T>  ✗ , location: vec2<i32>  ✓ , sample_index: i32  ✓ ) -> vec4<T>' where:
+      ✗  'T' is 'f32', 'i32' or 'u32'
+ • 'glsl.texelFetch(texture: texture_1d<T>  ✗ , location: i32  ✗ , level: i32  ✓ ) -> vec4<T>' where:
+      ✗  'T' is 'f32', 'i32' or 'u32'
+ • 'glsl.texelFetch(texture: texture_2d_array<T>  ✗ , location: vec3<i32>  ✗ , level: i32  ✓ ) -> vec4<T>' where:
+      ✗  'T' is 'f32', 'i32' or 'u32'
+ • 'glsl.texelFetch(texture: texture_3d<T>  ✗ , location: vec3<i32>  ✗ , level: i32  ✓ ) -> vec4<T>' where:
+      ✗  'T' is 'f32', 'i32' or 'u32'
+
+    %7:f32 = glsl.texelFetch %4, %5, %6
+             ^^^^^^^^^^^^^^^
+
+:11:3 note: in block
+  $B2: {
+  ^^^
+
+note: # Disassembly
+tint_symbol_1 = struct @align(4), @block {
+  tint_symbol:f32 @offset(0)
+}
+
+$B1: {  # root
+  %1:ptr<storage, tint_symbol_1, read_write> = var @binding_point(0, 0)
+  %arg_0:ptr<handle, texture_depth_multisampled_2d, read> = var @binding_point(0, 0)
+}
+
+%textureLoad_4db25c = func():f32 {
+  $B2: {
+    %4:texture_depth_multisampled_2d = load %arg_0
+    %5:vec2<i32> = convert vec2<u32>(1u)
+    %6:i32 = convert 1u
+    %7:f32 = glsl.texelFetch %4, %5, %6
+    %res:ptr<function, f32, read_write> = var, %7
+    %9:f32 = load %res
+    ret %9
+  }
+}
+%compute_main = @compute @workgroup_size(1, 1, 1) func():void {
+  $B3: {
+    %11:f32 = call %textureLoad_4db25c
+    %12:ptr<storage, f32, read_write> = access %1, 0u
+    store %12, %11
+    ret
+  }
+}
+
+
+@group(1) @binding(0) var arg_0 : texture_depth_multisampled_2d;
+
+fn textureLoad_4db25c() -> f32 {
+  var res : f32 = textureLoad(arg_0, vec2<u32>(1u), 1u);
+  return res;
+}
+
+struct VertexOutput {
+  @builtin(position)
+  pos : vec4<f32>,
+  @location(0) @interpolate(flat)
+  prevent_dce : f32,
+}
+
+@vertex
+fn vertex_main() -> VertexOutput {
+  var tint_symbol : VertexOutput;
+  tint_symbol.pos = vec4<f32>();
+  tint_symbol.prevent_dce = textureLoad_4db25c();
+  return tint_symbol;
+}
+
+Failed to generate: :15:14 error: glsl.texelFetch: no matching call to 'glsl.texelFetch(texture_depth_multisampled_2d, vec2<i32>, i32)'
+
+5 candidate functions:
+ • 'glsl.texelFetch(texture: texture_2d<T>  ✗ , location: vec2<i32>  ✓ , level: i32  ✓ ) -> vec4<T>' where:
+      ✗  'T' is 'f32', 'i32' or 'u32'
+ • 'glsl.texelFetch(texture: texture_multisampled_2d<T>  ✗ , location: vec2<i32>  ✓ , sample_index: i32  ✓ ) -> vec4<T>' where:
+      ✗  'T' is 'f32', 'i32' or 'u32'
+ • 'glsl.texelFetch(texture: texture_1d<T>  ✗ , location: i32  ✗ , level: i32  ✓ ) -> vec4<T>' where:
+      ✗  'T' is 'f32', 'i32' or 'u32'
+ • 'glsl.texelFetch(texture: texture_2d_array<T>  ✗ , location: vec3<i32>  ✗ , level: i32  ✓ ) -> vec4<T>' where:
+      ✗  'T' is 'f32', 'i32' or 'u32'
+ • 'glsl.texelFetch(texture: texture_3d<T>  ✗ , location: vec3<i32>  ✗ , level: i32  ✓ ) -> vec4<T>' where:
+      ✗  'T' is 'f32', 'i32' or 'u32'
+
+    %6:f32 = glsl.texelFetch %3, %4, %5
+             ^^^^^^^^^^^^^^^
+
+:11:3 note: in block
+  $B2: {
+  ^^^
+
+note: # Disassembly
+VertexOutput = struct @align(16) {
+  pos:vec4<f32> @offset(0), @builtin(position)
+  prevent_dce:f32 @offset(16), @location(0), @interpolate(flat)
+}
+
+$B1: {  # root
+  %arg_0:ptr<handle, texture_depth_multisampled_2d, read> = var @binding_point(0, 0)
+}
+
+%textureLoad_4db25c = func():f32 {
+  $B2: {
+    %3:texture_depth_multisampled_2d = load %arg_0
+    %4:vec2<i32> = convert vec2<u32>(1u)
+    %5:i32 = convert 1u
+    %6:f32 = glsl.texelFetch %3, %4, %5
+    %res:ptr<function, f32, read_write> = var, %6
+    %8:f32 = load %res
+    ret %8
+  }
+}
+%vertex_main = @vertex func():VertexOutput {
+  $B3: {
+    %tint_symbol:ptr<function, VertexOutput, read_write> = var
+    %11:ptr<function, vec4<f32>, read_write> = access %tint_symbol, 0u
+    store %11, vec4<f32>(0.0f)
+    %12:ptr<function, f32, read_write> = access %tint_symbol, 1u
+    %13:f32 = call %textureLoad_4db25c
+    store %12, %13
+    %14:VertexOutput = load %tint_symbol
+    ret %14
+  }
+}
+
+
+tint executable returned error: exit status 1
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 023772f..6338d00 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:994 internal compiler error: bgra8unorm should have been polyfilled to rgba8unorm
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 b475b2e..5c45d7f 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,11 +1,87 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  vec4 tint_symbol;
+} v;
+layout(binding = 0, rgba8) uniform highp readonly image1D arg_0;
+vec4 textureLoad_519ab5() {
+  vec4 res = imageLoad(arg_0, int(1));
+  return res;
+}
+void main() {
+  v.tint_symbol = textureLoad_519ab5();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:9: 'image1D' : Reserved word. 
+WARNING: 0:9: 'layout' : useless application of layout qualifier 
+ERROR: 0:9: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  vec4 tint_symbol;
+} v;
+layout(binding = 0, rgba8) uniform highp readonly image1D arg_0;
+vec4 textureLoad_519ab5() {
+  vec4 res = imageLoad(arg_0, int(1));
+  return res;
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  v.tint_symbol = textureLoad_519ab5();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:7: 'image1D' : Reserved word. 
+WARNING: 0:7: 'layout' : useless application of layout qualifier 
+ERROR: 0:7: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+layout(binding = 0, rgba8) uniform highp readonly image1D arg_0;
+layout(location = 0) flat out vec4 vertex_main_loc0_Output;
+vec4 textureLoad_519ab5() {
+  vec4 res = imageLoad(arg_0, int(1));
+  return res;
+}
+VertexOutput vertex_main_inner() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = textureLoad_519ab5();
+  return tint_symbol;
+}
+void main() {
+  VertexOutput v = vertex_main_inner();
+  gl_Position = v.pos;
+  gl_Position[1u] = -(gl_Position.y);
+  gl_Position[2u] = ((2.0f * gl_Position.z) - gl_Position.w);
+  vertex_main_loc0_Output = v.prevent_dce;
+  gl_PointSize = 1.0f;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:9: 'image1D' : Reserved word. 
+WARNING: 0:9: 'layout' : useless application of layout qualifier 
+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/literal/textureLoad/53941c.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/53941c.wgsl.expected.ir.glsl
index 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 b475b2e..23845d7 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,11 +1,87 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  ivec4 tint_symbol;
+} v;
+uniform highp isampler1D arg_0;
+ivec4 textureLoad_5a2f9d() {
+  int v_1 = int(1);
+  ivec4 res = texelFetch(arg_0, v_1, int(1));
+  return res;
+}
+void main() {
+  v.tint_symbol = textureLoad_5a2f9d();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:9: 'isampler1D' : Reserved word. 
+ERROR: 0:9: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  ivec4 tint_symbol;
+} v;
+uniform highp isampler1D arg_0;
+ivec4 textureLoad_5a2f9d() {
+  int v_1 = int(1);
+  ivec4 res = texelFetch(arg_0, v_1, int(1));
+  return res;
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  v.tint_symbol = textureLoad_5a2f9d();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:7: 'isampler1D' : Reserved word. 
+ERROR: 0:7: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+
+struct VertexOutput {
+  vec4 pos;
+  ivec4 prevent_dce;
+};
+
+uniform highp isampler1D arg_0;
+layout(location = 0) flat out ivec4 vertex_main_loc0_Output;
+ivec4 textureLoad_5a2f9d() {
+  int v = int(1);
+  ivec4 res = texelFetch(arg_0, v, int(1));
+  return res;
+}
+VertexOutput vertex_main_inner() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), ivec4(0));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = textureLoad_5a2f9d();
+  return tint_symbol;
+}
+void main() {
+  VertexOutput v_1 = vertex_main_inner();
+  gl_Position = v_1.pos;
+  gl_Position[1u] = -(gl_Position.y);
+  gl_Position[2u] = ((2.0f * gl_Position.z) - gl_Position.w);
+  vertex_main_loc0_Output = v_1.prevent_dce;
+  gl_PointSize = 1.0f;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:9: 'isampler1D' : Reserved word. 
+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/literal/textureLoad/5b0f5b.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/5b0f5b.wgsl.expected.ir.glsl
index 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 023772f..6338d00 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:994 internal compiler error: bgra8unorm should have been polyfilled to rgba8unorm
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 023772f..6338d00 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:994 internal compiler error: bgra8unorm should have been polyfilled to rgba8unorm
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 b475b2e..2437d56 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,11 +1,87 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  vec4 tint_symbol;
+} v;
+layout(binding = 0, r32f) uniform highp readonly image1D arg_0;
+vec4 textureLoad_5feb4d() {
+  vec4 res = imageLoad(arg_0, int(1u));
+  return res;
+}
+void main() {
+  v.tint_symbol = textureLoad_5feb4d();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:9: 'image1D' : Reserved word. 
+WARNING: 0:9: 'layout' : useless application of layout qualifier 
+ERROR: 0:9: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  vec4 tint_symbol;
+} v;
+layout(binding = 0, r32f) uniform highp readonly image1D arg_0;
+vec4 textureLoad_5feb4d() {
+  vec4 res = imageLoad(arg_0, int(1u));
+  return res;
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  v.tint_symbol = textureLoad_5feb4d();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:7: 'image1D' : Reserved word. 
+WARNING: 0:7: 'layout' : useless application of layout qualifier 
+ERROR: 0:7: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+layout(binding = 0, r32f) uniform highp readonly image1D arg_0;
+layout(location = 0) flat out vec4 vertex_main_loc0_Output;
+vec4 textureLoad_5feb4d() {
+  vec4 res = imageLoad(arg_0, int(1u));
+  return res;
+}
+VertexOutput vertex_main_inner() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = textureLoad_5feb4d();
+  return tint_symbol;
+}
+void main() {
+  VertexOutput v = vertex_main_inner();
+  gl_Position = v.pos;
+  gl_Position[1u] = -(gl_Position.y);
+  gl_Position[2u] = ((2.0f * gl_Position.z) - gl_Position.w);
+  vertex_main_loc0_Output = v.prevent_dce;
+  gl_PointSize = 1.0f;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:9: 'image1D' : Reserved word. 
+WARNING: 0:9: 'layout' : useless application of layout qualifier 
+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/literal/textureLoad/622278.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/622278.wgsl.expected.ir.glsl
index 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 b475b2e..fb820e7 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,11 +1,228 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
 
-tint executable returned error: signal: trace/BPT trap
+@group(0) @binding(0) var<storage, read_write> prevent_dce : f32;
+
+@group(1) @binding(0) var arg_0 : texture_depth_multisampled_2d;
+
+fn textureLoad_6273b1() -> f32 {
+  var res : f32 = textureLoad(arg_0, vec2<i32>(1i), 1i);
+  return res;
+}
+
+struct VertexOutput {
+  @builtin(position)
+  pos : vec4<f32>,
+  @location(0) @interpolate(flat)
+  prevent_dce : f32,
+}
+
+@fragment
+fn fragment_main() {
+  prevent_dce = textureLoad_6273b1();
+}
+
+Failed to generate: :15:14 error: glsl.texelFetch: no matching call to 'glsl.texelFetch(texture_depth_multisampled_2d, vec2<i32>, i32)'
+
+5 candidate functions:
+ • 'glsl.texelFetch(texture: texture_2d<T>  ✗ , location: vec2<i32>  ✓ , level: i32  ✓ ) -> vec4<T>' where:
+      ✗  'T' is 'f32', 'i32' or 'u32'
+ • 'glsl.texelFetch(texture: texture_multisampled_2d<T>  ✗ , location: vec2<i32>  ✓ , sample_index: i32  ✓ ) -> vec4<T>' where:
+      ✗  'T' is 'f32', 'i32' or 'u32'
+ • 'glsl.texelFetch(texture: texture_1d<T>  ✗ , location: i32  ✗ , level: i32  ✓ ) -> vec4<T>' where:
+      ✗  'T' is 'f32', 'i32' or 'u32'
+ • 'glsl.texelFetch(texture: texture_2d_array<T>  ✗ , location: vec3<i32>  ✗ , level: i32  ✓ ) -> vec4<T>' where:
+      ✗  'T' is 'f32', 'i32' or 'u32'
+ • 'glsl.texelFetch(texture: texture_3d<T>  ✗ , location: vec3<i32>  ✗ , level: i32  ✓ ) -> vec4<T>' where:
+      ✗  'T' is 'f32', 'i32' or 'u32'
+
+    %7:f32 = glsl.texelFetch %4, %5, %6
+             ^^^^^^^^^^^^^^^
+
+:11:3 note: in block
+  $B2: {
+  ^^^
+
+note: # Disassembly
+tint_symbol_1 = struct @align(4), @block {
+  tint_symbol:f32 @offset(0)
+}
+
+$B1: {  # root
+  %1:ptr<storage, tint_symbol_1, read_write> = var @binding_point(0, 0)
+  %arg_0:ptr<handle, texture_depth_multisampled_2d, read> = var @binding_point(0, 0)
+}
+
+%textureLoad_6273b1 = func():f32 {
+  $B2: {
+    %4:texture_depth_multisampled_2d = load %arg_0
+    %5:vec2<i32> = convert vec2<i32>(1i)
+    %6:i32 = convert 1i
+    %7:f32 = glsl.texelFetch %4, %5, %6
+    %res:ptr<function, f32, read_write> = var, %7
+    %9:f32 = load %res
+    ret %9
+  }
+}
+%fragment_main = @fragment func():void {
+  $B3: {
+    %11:f32 = call %textureLoad_6273b1
+    %12:ptr<storage, f32, read_write> = access %1, 0u
+    store %12, %11
+    ret
+  }
+}
+
+
+@group(0) @binding(0) var<storage, read_write> prevent_dce : f32;
+
+@group(1) @binding(0) var arg_0 : texture_depth_multisampled_2d;
+
+fn textureLoad_6273b1() -> f32 {
+  var res : f32 = textureLoad(arg_0, vec2<i32>(1i), 1i);
+  return res;
+}
+
+struct VertexOutput {
+  @builtin(position)
+  pos : vec4<f32>,
+  @location(0) @interpolate(flat)
+  prevent_dce : f32,
+}
+
+@compute @workgroup_size(1)
+fn compute_main() {
+  prevent_dce = textureLoad_6273b1();
+}
+
+Failed to generate: :15:14 error: glsl.texelFetch: no matching call to 'glsl.texelFetch(texture_depth_multisampled_2d, vec2<i32>, i32)'
+
+5 candidate functions:
+ • 'glsl.texelFetch(texture: texture_2d<T>  ✗ , location: vec2<i32>  ✓ , level: i32  ✓ ) -> vec4<T>' where:
+      ✗  'T' is 'f32', 'i32' or 'u32'
+ • 'glsl.texelFetch(texture: texture_multisampled_2d<T>  ✗ , location: vec2<i32>  ✓ , sample_index: i32  ✓ ) -> vec4<T>' where:
+      ✗  'T' is 'f32', 'i32' or 'u32'
+ • 'glsl.texelFetch(texture: texture_1d<T>  ✗ , location: i32  ✗ , level: i32  ✓ ) -> vec4<T>' where:
+      ✗  'T' is 'f32', 'i32' or 'u32'
+ • 'glsl.texelFetch(texture: texture_2d_array<T>  ✗ , location: vec3<i32>  ✗ , level: i32  ✓ ) -> vec4<T>' where:
+      ✗  'T' is 'f32', 'i32' or 'u32'
+ • 'glsl.texelFetch(texture: texture_3d<T>  ✗ , location: vec3<i32>  ✗ , level: i32  ✓ ) -> vec4<T>' where:
+      ✗  'T' is 'f32', 'i32' or 'u32'
+
+    %7:f32 = glsl.texelFetch %4, %5, %6
+             ^^^^^^^^^^^^^^^
+
+:11:3 note: in block
+  $B2: {
+  ^^^
+
+note: # Disassembly
+tint_symbol_1 = struct @align(4), @block {
+  tint_symbol:f32 @offset(0)
+}
+
+$B1: {  # root
+  %1:ptr<storage, tint_symbol_1, read_write> = var @binding_point(0, 0)
+  %arg_0:ptr<handle, texture_depth_multisampled_2d, read> = var @binding_point(0, 0)
+}
+
+%textureLoad_6273b1 = func():f32 {
+  $B2: {
+    %4:texture_depth_multisampled_2d = load %arg_0
+    %5:vec2<i32> = convert vec2<i32>(1i)
+    %6:i32 = convert 1i
+    %7:f32 = glsl.texelFetch %4, %5, %6
+    %res:ptr<function, f32, read_write> = var, %7
+    %9:f32 = load %res
+    ret %9
+  }
+}
+%compute_main = @compute @workgroup_size(1, 1, 1) func():void {
+  $B3: {
+    %11:f32 = call %textureLoad_6273b1
+    %12:ptr<storage, f32, read_write> = access %1, 0u
+    store %12, %11
+    ret
+  }
+}
+
+
+@group(1) @binding(0) var arg_0 : texture_depth_multisampled_2d;
+
+fn textureLoad_6273b1() -> f32 {
+  var res : f32 = textureLoad(arg_0, vec2<i32>(1i), 1i);
+  return res;
+}
+
+struct VertexOutput {
+  @builtin(position)
+  pos : vec4<f32>,
+  @location(0) @interpolate(flat)
+  prevent_dce : f32,
+}
+
+@vertex
+fn vertex_main() -> VertexOutput {
+  var tint_symbol : VertexOutput;
+  tint_symbol.pos = vec4<f32>();
+  tint_symbol.prevent_dce = textureLoad_6273b1();
+  return tint_symbol;
+}
+
+Failed to generate: :15:14 error: glsl.texelFetch: no matching call to 'glsl.texelFetch(texture_depth_multisampled_2d, vec2<i32>, i32)'
+
+5 candidate functions:
+ • 'glsl.texelFetch(texture: texture_2d<T>  ✗ , location: vec2<i32>  ✓ , level: i32  ✓ ) -> vec4<T>' where:
+      ✗  'T' is 'f32', 'i32' or 'u32'
+ • 'glsl.texelFetch(texture: texture_multisampled_2d<T>  ✗ , location: vec2<i32>  ✓ , sample_index: i32  ✓ ) -> vec4<T>' where:
+      ✗  'T' is 'f32', 'i32' or 'u32'
+ • 'glsl.texelFetch(texture: texture_1d<T>  ✗ , location: i32  ✗ , level: i32  ✓ ) -> vec4<T>' where:
+      ✗  'T' is 'f32', 'i32' or 'u32'
+ • 'glsl.texelFetch(texture: texture_2d_array<T>  ✗ , location: vec3<i32>  ✗ , level: i32  ✓ ) -> vec4<T>' where:
+      ✗  'T' is 'f32', 'i32' or 'u32'
+ • 'glsl.texelFetch(texture: texture_3d<T>  ✗ , location: vec3<i32>  ✗ , level: i32  ✓ ) -> vec4<T>' where:
+      ✗  'T' is 'f32', 'i32' or 'u32'
+
+    %6:f32 = glsl.texelFetch %3, %4, %5
+             ^^^^^^^^^^^^^^^
+
+:11:3 note: in block
+  $B2: {
+  ^^^
+
+note: # Disassembly
+VertexOutput = struct @align(16) {
+  pos:vec4<f32> @offset(0), @builtin(position)
+  prevent_dce:f32 @offset(16), @location(0), @interpolate(flat)
+}
+
+$B1: {  # root
+  %arg_0:ptr<handle, texture_depth_multisampled_2d, read> = var @binding_point(0, 0)
+}
+
+%textureLoad_6273b1 = func():f32 {
+  $B2: {
+    %3:texture_depth_multisampled_2d = load %arg_0
+    %4:vec2<i32> = convert vec2<i32>(1i)
+    %5:i32 = convert 1i
+    %6:f32 = glsl.texelFetch %3, %4, %5
+    %res:ptr<function, f32, read_write> = var, %6
+    %8:f32 = load %res
+    ret %8
+  }
+}
+%vertex_main = @vertex func():VertexOutput {
+  $B3: {
+    %tint_symbol:ptr<function, VertexOutput, read_write> = var
+    %11:ptr<function, vec4<f32>, read_write> = access %tint_symbol, 0u
+    store %11, vec4<f32>(0.0f)
+    %12:ptr<function, f32, read_write> = access %tint_symbol, 1u
+    %13:f32 = call %textureLoad_6273b1
+    store %12, %13
+    %14:VertexOutput = load %tint_symbol
+    ret %14
+  }
+}
+
+
+tint executable returned error: exit status 1
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 b475b2e..76e8004 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,11 +1,87 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  ivec4 tint_symbol;
+} v;
+uniform highp isampler1D arg_0;
+ivec4 textureLoad_62d1de() {
+  int v_1 = int(1);
+  ivec4 res = texelFetch(arg_0, v_1, int(1u));
+  return res;
+}
+void main() {
+  v.tint_symbol = textureLoad_62d1de();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:9: 'isampler1D' : Reserved word. 
+ERROR: 0:9: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  ivec4 tint_symbol;
+} v;
+uniform highp isampler1D arg_0;
+ivec4 textureLoad_62d1de() {
+  int v_1 = int(1);
+  ivec4 res = texelFetch(arg_0, v_1, int(1u));
+  return res;
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  v.tint_symbol = textureLoad_62d1de();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:7: 'isampler1D' : Reserved word. 
+ERROR: 0:7: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+
+struct VertexOutput {
+  vec4 pos;
+  ivec4 prevent_dce;
+};
+
+uniform highp isampler1D arg_0;
+layout(location = 0) flat out ivec4 vertex_main_loc0_Output;
+ivec4 textureLoad_62d1de() {
+  int v = int(1);
+  ivec4 res = texelFetch(arg_0, v, int(1u));
+  return res;
+}
+VertexOutput vertex_main_inner() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), ivec4(0));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = textureLoad_62d1de();
+  return tint_symbol;
+}
+void main() {
+  VertexOutput v_1 = vertex_main_inner();
+  gl_Position = v_1.pos;
+  gl_Position[1u] = -(gl_Position.y);
+  gl_Position[2u] = ((2.0f * gl_Position.z) - gl_Position.w);
+  vertex_main_loc0_Output = v_1.prevent_dce;
+  gl_PointSize = 1.0f;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:9: 'isampler1D' : Reserved word. 
+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/literal/textureLoad/64c372.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/64c372.wgsl.expected.ir.glsl
index 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 b475b2e..124d7b9 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,11 +1,87 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  ivec4 tint_symbol;
+} v;
+layout(binding = 0, rgba16i) uniform highp readonly iimage1D arg_0;
+ivec4 textureLoad_6678b6() {
+  ivec4 res = imageLoad(arg_0, int(1));
+  return res;
+}
+void main() {
+  v.tint_symbol = textureLoad_6678b6();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:9: 'iimage1D' : Reserved word. 
+WARNING: 0:9: 'layout' : useless application of layout qualifier 
+ERROR: 0:9: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  ivec4 tint_symbol;
+} v;
+layout(binding = 0, rgba16i) uniform highp readonly iimage1D arg_0;
+ivec4 textureLoad_6678b6() {
+  ivec4 res = imageLoad(arg_0, int(1));
+  return res;
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  v.tint_symbol = textureLoad_6678b6();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:7: 'iimage1D' : Reserved word. 
+WARNING: 0:7: 'layout' : useless application of layout qualifier 
+ERROR: 0:7: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+
+struct VertexOutput {
+  vec4 pos;
+  ivec4 prevent_dce;
+};
+
+layout(binding = 0, rgba16i) uniform highp readonly iimage1D arg_0;
+layout(location = 0) flat out ivec4 vertex_main_loc0_Output;
+ivec4 textureLoad_6678b6() {
+  ivec4 res = imageLoad(arg_0, int(1));
+  return res;
+}
+VertexOutput vertex_main_inner() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), ivec4(0));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = textureLoad_6678b6();
+  return tint_symbol;
+}
+void main() {
+  VertexOutput v = vertex_main_inner();
+  gl_Position = v.pos;
+  gl_Position[1u] = -(gl_Position.y);
+  gl_Position[2u] = ((2.0f * gl_Position.z) - gl_Position.w);
+  vertex_main_loc0_Output = v.prevent_dce;
+  gl_PointSize = 1.0f;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:9: 'iimage1D' : Reserved word. 
+WARNING: 0:9: 'layout' : useless application of layout qualifier 
+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/literal/textureLoad/66be47.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/66be47.wgsl.expected.ir.glsl
index b475b2e..928ec74 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
+<dawn>/src/tint/lang/glsl/writer/raise/builtin_polyfill.cc:469 internal compiler error: TINT_ASSERT(!tex->Type()->Is<core::type::DepthTexture>())
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 b475b2e..544a26a 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,11 +1,228 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
 
-tint executable returned error: signal: trace/BPT trap
+@group(0) @binding(0) var<storage, read_write> prevent_dce : f32;
+
+@group(1) @binding(0) var arg_0 : texture_depth_multisampled_2d;
+
+fn textureLoad_6925bc() -> f32 {
+  var res : f32 = textureLoad(arg_0, vec2<i32>(1i), 1u);
+  return res;
+}
+
+struct VertexOutput {
+  @builtin(position)
+  pos : vec4<f32>,
+  @location(0) @interpolate(flat)
+  prevent_dce : f32,
+}
+
+@fragment
+fn fragment_main() {
+  prevent_dce = textureLoad_6925bc();
+}
+
+Failed to generate: :15:14 error: glsl.texelFetch: no matching call to 'glsl.texelFetch(texture_depth_multisampled_2d, vec2<i32>, i32)'
+
+5 candidate functions:
+ • 'glsl.texelFetch(texture: texture_2d<T>  ✗ , location: vec2<i32>  ✓ , level: i32  ✓ ) -> vec4<T>' where:
+      ✗  'T' is 'f32', 'i32' or 'u32'
+ • 'glsl.texelFetch(texture: texture_multisampled_2d<T>  ✗ , location: vec2<i32>  ✓ , sample_index: i32  ✓ ) -> vec4<T>' where:
+      ✗  'T' is 'f32', 'i32' or 'u32'
+ • 'glsl.texelFetch(texture: texture_1d<T>  ✗ , location: i32  ✗ , level: i32  ✓ ) -> vec4<T>' where:
+      ✗  'T' is 'f32', 'i32' or 'u32'
+ • 'glsl.texelFetch(texture: texture_2d_array<T>  ✗ , location: vec3<i32>  ✗ , level: i32  ✓ ) -> vec4<T>' where:
+      ✗  'T' is 'f32', 'i32' or 'u32'
+ • 'glsl.texelFetch(texture: texture_3d<T>  ✗ , location: vec3<i32>  ✗ , level: i32  ✓ ) -> vec4<T>' where:
+      ✗  'T' is 'f32', 'i32' or 'u32'
+
+    %7:f32 = glsl.texelFetch %4, %5, %6
+             ^^^^^^^^^^^^^^^
+
+:11:3 note: in block
+  $B2: {
+  ^^^
+
+note: # Disassembly
+tint_symbol_1 = struct @align(4), @block {
+  tint_symbol:f32 @offset(0)
+}
+
+$B1: {  # root
+  %1:ptr<storage, tint_symbol_1, read_write> = var @binding_point(0, 0)
+  %arg_0:ptr<handle, texture_depth_multisampled_2d, read> = var @binding_point(0, 0)
+}
+
+%textureLoad_6925bc = func():f32 {
+  $B2: {
+    %4:texture_depth_multisampled_2d = load %arg_0
+    %5:vec2<i32> = convert vec2<i32>(1i)
+    %6:i32 = convert 1u
+    %7:f32 = glsl.texelFetch %4, %5, %6
+    %res:ptr<function, f32, read_write> = var, %7
+    %9:f32 = load %res
+    ret %9
+  }
+}
+%fragment_main = @fragment func():void {
+  $B3: {
+    %11:f32 = call %textureLoad_6925bc
+    %12:ptr<storage, f32, read_write> = access %1, 0u
+    store %12, %11
+    ret
+  }
+}
+
+
+@group(0) @binding(0) var<storage, read_write> prevent_dce : f32;
+
+@group(1) @binding(0) var arg_0 : texture_depth_multisampled_2d;
+
+fn textureLoad_6925bc() -> f32 {
+  var res : f32 = textureLoad(arg_0, vec2<i32>(1i), 1u);
+  return res;
+}
+
+struct VertexOutput {
+  @builtin(position)
+  pos : vec4<f32>,
+  @location(0) @interpolate(flat)
+  prevent_dce : f32,
+}
+
+@compute @workgroup_size(1)
+fn compute_main() {
+  prevent_dce = textureLoad_6925bc();
+}
+
+Failed to generate: :15:14 error: glsl.texelFetch: no matching call to 'glsl.texelFetch(texture_depth_multisampled_2d, vec2<i32>, i32)'
+
+5 candidate functions:
+ • 'glsl.texelFetch(texture: texture_2d<T>  ✗ , location: vec2<i32>  ✓ , level: i32  ✓ ) -> vec4<T>' where:
+      ✗  'T' is 'f32', 'i32' or 'u32'
+ • 'glsl.texelFetch(texture: texture_multisampled_2d<T>  ✗ , location: vec2<i32>  ✓ , sample_index: i32  ✓ ) -> vec4<T>' where:
+      ✗  'T' is 'f32', 'i32' or 'u32'
+ • 'glsl.texelFetch(texture: texture_1d<T>  ✗ , location: i32  ✗ , level: i32  ✓ ) -> vec4<T>' where:
+      ✗  'T' is 'f32', 'i32' or 'u32'
+ • 'glsl.texelFetch(texture: texture_2d_array<T>  ✗ , location: vec3<i32>  ✗ , level: i32  ✓ ) -> vec4<T>' where:
+      ✗  'T' is 'f32', 'i32' or 'u32'
+ • 'glsl.texelFetch(texture: texture_3d<T>  ✗ , location: vec3<i32>  ✗ , level: i32  ✓ ) -> vec4<T>' where:
+      ✗  'T' is 'f32', 'i32' or 'u32'
+
+    %7:f32 = glsl.texelFetch %4, %5, %6
+             ^^^^^^^^^^^^^^^
+
+:11:3 note: in block
+  $B2: {
+  ^^^
+
+note: # Disassembly
+tint_symbol_1 = struct @align(4), @block {
+  tint_symbol:f32 @offset(0)
+}
+
+$B1: {  # root
+  %1:ptr<storage, tint_symbol_1, read_write> = var @binding_point(0, 0)
+  %arg_0:ptr<handle, texture_depth_multisampled_2d, read> = var @binding_point(0, 0)
+}
+
+%textureLoad_6925bc = func():f32 {
+  $B2: {
+    %4:texture_depth_multisampled_2d = load %arg_0
+    %5:vec2<i32> = convert vec2<i32>(1i)
+    %6:i32 = convert 1u
+    %7:f32 = glsl.texelFetch %4, %5, %6
+    %res:ptr<function, f32, read_write> = var, %7
+    %9:f32 = load %res
+    ret %9
+  }
+}
+%compute_main = @compute @workgroup_size(1, 1, 1) func():void {
+  $B3: {
+    %11:f32 = call %textureLoad_6925bc
+    %12:ptr<storage, f32, read_write> = access %1, 0u
+    store %12, %11
+    ret
+  }
+}
+
+
+@group(1) @binding(0) var arg_0 : texture_depth_multisampled_2d;
+
+fn textureLoad_6925bc() -> f32 {
+  var res : f32 = textureLoad(arg_0, vec2<i32>(1i), 1u);
+  return res;
+}
+
+struct VertexOutput {
+  @builtin(position)
+  pos : vec4<f32>,
+  @location(0) @interpolate(flat)
+  prevent_dce : f32,
+}
+
+@vertex
+fn vertex_main() -> VertexOutput {
+  var tint_symbol : VertexOutput;
+  tint_symbol.pos = vec4<f32>();
+  tint_symbol.prevent_dce = textureLoad_6925bc();
+  return tint_symbol;
+}
+
+Failed to generate: :15:14 error: glsl.texelFetch: no matching call to 'glsl.texelFetch(texture_depth_multisampled_2d, vec2<i32>, i32)'
+
+5 candidate functions:
+ • 'glsl.texelFetch(texture: texture_2d<T>  ✗ , location: vec2<i32>  ✓ , level: i32  ✓ ) -> vec4<T>' where:
+      ✗  'T' is 'f32', 'i32' or 'u32'
+ • 'glsl.texelFetch(texture: texture_multisampled_2d<T>  ✗ , location: vec2<i32>  ✓ , sample_index: i32  ✓ ) -> vec4<T>' where:
+      ✗  'T' is 'f32', 'i32' or 'u32'
+ • 'glsl.texelFetch(texture: texture_1d<T>  ✗ , location: i32  ✗ , level: i32  ✓ ) -> vec4<T>' where:
+      ✗  'T' is 'f32', 'i32' or 'u32'
+ • 'glsl.texelFetch(texture: texture_2d_array<T>  ✗ , location: vec3<i32>  ✗ , level: i32  ✓ ) -> vec4<T>' where:
+      ✗  'T' is 'f32', 'i32' or 'u32'
+ • 'glsl.texelFetch(texture: texture_3d<T>  ✗ , location: vec3<i32>  ✗ , level: i32  ✓ ) -> vec4<T>' where:
+      ✗  'T' is 'f32', 'i32' or 'u32'
+
+    %6:f32 = glsl.texelFetch %3, %4, %5
+             ^^^^^^^^^^^^^^^
+
+:11:3 note: in block
+  $B2: {
+  ^^^
+
+note: # Disassembly
+VertexOutput = struct @align(16) {
+  pos:vec4<f32> @offset(0), @builtin(position)
+  prevent_dce:f32 @offset(16), @location(0), @interpolate(flat)
+}
+
+$B1: {  # root
+  %arg_0:ptr<handle, texture_depth_multisampled_2d, read> = var @binding_point(0, 0)
+}
+
+%textureLoad_6925bc = func():f32 {
+  $B2: {
+    %3:texture_depth_multisampled_2d = load %arg_0
+    %4:vec2<i32> = convert vec2<i32>(1i)
+    %5:i32 = convert 1u
+    %6:f32 = glsl.texelFetch %3, %4, %5
+    %res:ptr<function, f32, read_write> = var, %6
+    %8:f32 = load %res
+    ret %8
+  }
+}
+%vertex_main = @vertex func():VertexOutput {
+  $B3: {
+    %tint_symbol:ptr<function, VertexOutput, read_write> = var
+    %11:ptr<function, vec4<f32>, read_write> = access %tint_symbol, 0u
+    store %11, vec4<f32>(0.0f)
+    %12:ptr<function, f32, read_write> = access %tint_symbol, 1u
+    %13:f32 = call %textureLoad_6925bc
+    store %12, %13
+    %14:VertexOutput = load %tint_symbol
+    ret %14
+  }
+}
+
+
+tint executable returned error: exit status 1
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 b475b2e..6d018c7 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,11 +1,87 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  uvec4 tint_symbol;
+} v;
+uniform highp usampler1D arg_0;
+uvec4 textureLoad_6b77d4() {
+  int v_1 = int(1);
+  uvec4 res = texelFetch(arg_0, v_1, int(1u));
+  return res;
+}
+void main() {
+  v.tint_symbol = textureLoad_6b77d4();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:9: 'usampler1D' : Reserved word. 
+ERROR: 0:9: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  uvec4 tint_symbol;
+} v;
+uniform highp usampler1D arg_0;
+uvec4 textureLoad_6b77d4() {
+  int v_1 = int(1);
+  uvec4 res = texelFetch(arg_0, v_1, int(1u));
+  return res;
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  v.tint_symbol = textureLoad_6b77d4();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:7: 'usampler1D' : Reserved word. 
+ERROR: 0:7: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+
+struct VertexOutput {
+  vec4 pos;
+  uvec4 prevent_dce;
+};
+
+uniform highp usampler1D arg_0;
+layout(location = 0) flat out uvec4 vertex_main_loc0_Output;
+uvec4 textureLoad_6b77d4() {
+  int v = int(1);
+  uvec4 res = texelFetch(arg_0, v, int(1u));
+  return res;
+}
+VertexOutput vertex_main_inner() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), uvec4(0u));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = textureLoad_6b77d4();
+  return tint_symbol;
+}
+void main() {
+  VertexOutput v_1 = vertex_main_inner();
+  gl_Position = v_1.pos;
+  gl_Position[1u] = -(gl_Position.y);
+  gl_Position[2u] = ((2.0f * gl_Position.z) - gl_Position.w);
+  vertex_main_loc0_Output = v_1.prevent_dce;
+  gl_PointSize = 1.0f;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:9: 'usampler1D' : Reserved word. 
+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/literal/textureLoad/6b8ba6.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/6b8ba6.wgsl.expected.ir.glsl
index 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 023772f..6338d00 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:994 internal compiler error: bgra8unorm should have been polyfilled to rgba8unorm
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 b475b2e..370b134 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,11 +1,87 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  vec4 tint_symbol;
+} v;
+uniform highp sampler1D arg_0;
+vec4 textureLoad_6d376a() {
+  int v_1 = int(1u);
+  vec4 res = texelFetch(arg_0, v_1, int(1u));
+  return res;
+}
+void main() {
+  v.tint_symbol = textureLoad_6d376a();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:9: 'sampler1D' : Reserved word. 
+ERROR: 0:9: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  vec4 tint_symbol;
+} v;
+uniform highp sampler1D arg_0;
+vec4 textureLoad_6d376a() {
+  int v_1 = int(1u);
+  vec4 res = texelFetch(arg_0, v_1, int(1u));
+  return res;
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  v.tint_symbol = textureLoad_6d376a();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:7: 'sampler1D' : Reserved word. 
+ERROR: 0:7: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+uniform highp sampler1D arg_0;
+layout(location = 0) flat out vec4 vertex_main_loc0_Output;
+vec4 textureLoad_6d376a() {
+  int v = int(1u);
+  vec4 res = texelFetch(arg_0, v, int(1u));
+  return res;
+}
+VertexOutput vertex_main_inner() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = textureLoad_6d376a();
+  return tint_symbol;
+}
+void main() {
+  VertexOutput v_1 = vertex_main_inner();
+  gl_Position = v_1.pos;
+  gl_Position[1u] = -(gl_Position.y);
+  gl_Position[2u] = ((2.0f * gl_Position.z) - gl_Position.w);
+  vertex_main_loc0_Output = v_1.prevent_dce;
+  gl_PointSize = 1.0f;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:9: 'sampler1D' : Reserved word. 
+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/literal/textureLoad/6d7bb5.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/6d7bb5.wgsl.expected.ir.glsl
index 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 b475b2e..928ec74 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
+<dawn>/src/tint/lang/glsl/writer/raise/builtin_polyfill.cc:469 internal compiler error: TINT_ASSERT(!tex->Type()->Is<core::type::DepthTexture>())
 ********************************************************************
 *  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 023772f..6338d00 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:994 internal compiler error: bgra8unorm should have been polyfilled to rgba8unorm
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 b475b2e..928ec74 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
+<dawn>/src/tint/lang/glsl/writer/raise/builtin_polyfill.cc:469 internal compiler error: TINT_ASSERT(!tex->Type()->Is<core::type::DepthTexture>())
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 b475b2e..ee8e329 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,11 +1,87 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  vec4 tint_symbol;
+} v;
+uniform highp sampler1D arg_0;
+vec4 textureLoad_81c381() {
+  int v_1 = int(1);
+  vec4 res = texelFetch(arg_0, v_1, int(1));
+  return res;
+}
+void main() {
+  v.tint_symbol = textureLoad_81c381();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:9: 'sampler1D' : Reserved word. 
+ERROR: 0:9: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  vec4 tint_symbol;
+} v;
+uniform highp sampler1D arg_0;
+vec4 textureLoad_81c381() {
+  int v_1 = int(1);
+  vec4 res = texelFetch(arg_0, v_1, int(1));
+  return res;
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  v.tint_symbol = textureLoad_81c381();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:7: 'sampler1D' : Reserved word. 
+ERROR: 0:7: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+uniform highp sampler1D arg_0;
+layout(location = 0) flat out vec4 vertex_main_loc0_Output;
+vec4 textureLoad_81c381() {
+  int v = int(1);
+  vec4 res = texelFetch(arg_0, v, int(1));
+  return res;
+}
+VertexOutput vertex_main_inner() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = textureLoad_81c381();
+  return tint_symbol;
+}
+void main() {
+  VertexOutput v_1 = vertex_main_inner();
+  gl_Position = v_1.pos;
+  gl_Position[1u] = -(gl_Position.y);
+  gl_Position[2u] = ((2.0f * gl_Position.z) - gl_Position.w);
+  vertex_main_loc0_Output = v_1.prevent_dce;
+  gl_PointSize = 1.0f;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:9: 'sampler1D' : Reserved word. 
+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/literal/textureLoad/83cea4.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/83cea4.wgsl.expected.ir.glsl
index b475b2e..3033593 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,11 +1,87 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  uvec4 tint_symbol;
+} v;
+layout(binding = 0, rgba16ui) uniform highp readonly uimage1D arg_0;
+uvec4 textureLoad_83cea4() {
+  uvec4 res = imageLoad(arg_0, int(1));
+  return res;
+}
+void main() {
+  v.tint_symbol = textureLoad_83cea4();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:9: 'uimage1D' : Reserved word. 
+WARNING: 0:9: 'layout' : useless application of layout qualifier 
+ERROR: 0:9: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  uvec4 tint_symbol;
+} v;
+layout(binding = 0, rgba16ui) uniform highp readonly uimage1D arg_0;
+uvec4 textureLoad_83cea4() {
+  uvec4 res = imageLoad(arg_0, int(1));
+  return res;
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  v.tint_symbol = textureLoad_83cea4();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:7: 'uimage1D' : Reserved word. 
+WARNING: 0:7: 'layout' : useless application of layout qualifier 
+ERROR: 0:7: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+
+struct VertexOutput {
+  vec4 pos;
+  uvec4 prevent_dce;
+};
+
+layout(binding = 0, rgba16ui) uniform highp readonly uimage1D arg_0;
+layout(location = 0) flat out uvec4 vertex_main_loc0_Output;
+uvec4 textureLoad_83cea4() {
+  uvec4 res = imageLoad(arg_0, int(1));
+  return res;
+}
+VertexOutput vertex_main_inner() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), uvec4(0u));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = textureLoad_83cea4();
+  return tint_symbol;
+}
+void main() {
+  VertexOutput v = vertex_main_inner();
+  gl_Position = v.pos;
+  gl_Position[1u] = -(gl_Position.y);
+  gl_Position[2u] = ((2.0f * gl_Position.z) - gl_Position.w);
+  vertex_main_loc0_Output = v.prevent_dce;
+  gl_PointSize = 1.0f;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:9: 'uimage1D' : Reserved word. 
+WARNING: 0:9: 'layout' : useless application of layout qualifier 
+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/literal/textureLoad/83d6e3.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/83d6e3.wgsl.expected.ir.glsl
index b475b2e..de6a833 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,11 +1,51 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  uvec4 tint_symbol;
+} v;
+layout(binding = 0, r32ui) uniform highp uimage1D arg_0;
+uvec4 textureLoad_83d6e3() {
+  uvec4 res = imageLoad(arg_0, int(1));
+  return res;
+}
+void main() {
+  v.tint_symbol = textureLoad_83d6e3();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:9: 'uimage1D' : Reserved word. 
+WARNING: 0:9: 'layout' : useless application of layout qualifier 
+ERROR: 0:9: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  uvec4 tint_symbol;
+} v;
+layout(binding = 0, r32ui) uniform highp uimage1D arg_0;
+uvec4 textureLoad_83d6e3() {
+  uvec4 res = imageLoad(arg_0, int(1));
+  return res;
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  v.tint_symbol = textureLoad_83d6e3();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:7: 'uimage1D' : Reserved word. 
+WARNING: 0:7: 'layout' : useless application of layout qualifier 
+ERROR: 0:7: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 b475b2e..e6de685 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,11 +1,87 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  vec4 tint_symbol;
+} v;
+layout(binding = 0, rgba32f) uniform highp readonly image1D arg_0;
+vec4 textureLoad_84c728() {
+  vec4 res = imageLoad(arg_0, int(1u));
+  return res;
+}
+void main() {
+  v.tint_symbol = textureLoad_84c728();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:9: 'image1D' : Reserved word. 
+WARNING: 0:9: 'layout' : useless application of layout qualifier 
+ERROR: 0:9: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  vec4 tint_symbol;
+} v;
+layout(binding = 0, rgba32f) uniform highp readonly image1D arg_0;
+vec4 textureLoad_84c728() {
+  vec4 res = imageLoad(arg_0, int(1u));
+  return res;
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  v.tint_symbol = textureLoad_84c728();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:7: 'image1D' : Reserved word. 
+WARNING: 0:7: 'layout' : useless application of layout qualifier 
+ERROR: 0:7: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+layout(binding = 0, rgba32f) uniform highp readonly image1D arg_0;
+layout(location = 0) flat out vec4 vertex_main_loc0_Output;
+vec4 textureLoad_84c728() {
+  vec4 res = imageLoad(arg_0, int(1u));
+  return res;
+}
+VertexOutput vertex_main_inner() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = textureLoad_84c728();
+  return tint_symbol;
+}
+void main() {
+  VertexOutput v = vertex_main_inner();
+  gl_Position = v.pos;
+  gl_Position[1u] = -(gl_Position.y);
+  gl_Position[2u] = ((2.0f * gl_Position.z) - gl_Position.w);
+  vertex_main_loc0_Output = v.prevent_dce;
+  gl_PointSize = 1.0f;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:9: 'image1D' : Reserved word. 
+WARNING: 0:9: 'layout' : useless application of layout qualifier 
+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/literal/textureLoad/878e24.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/878e24.wgsl.expected.ir.glsl
index 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 023772f..6338d00 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:994 internal compiler error: bgra8unorm should have been polyfilled to rgba8unorm
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 b475b2e..cfa249d 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,11 +1,51 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  vec4 tint_symbol;
+} v;
+layout(binding = 0, r32f) uniform highp image1D arg_0;
+vec4 textureLoad_8bf8c2() {
+  vec4 res = imageLoad(arg_0, int(1u));
+  return res;
+}
+void main() {
+  v.tint_symbol = textureLoad_8bf8c2();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:9: 'image1D' : Reserved word. 
+WARNING: 0:9: 'layout' : useless application of layout qualifier 
+ERROR: 0:9: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  vec4 tint_symbol;
+} v;
+layout(binding = 0, r32f) uniform highp image1D arg_0;
+vec4 textureLoad_8bf8c2() {
+  vec4 res = imageLoad(arg_0, int(1u));
+  return res;
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  v.tint_symbol = textureLoad_8bf8c2();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:7: 'image1D' : Reserved word. 
+WARNING: 0:7: 'layout' : useless application of layout qualifier 
+ERROR: 0:7: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 b475b2e..928ec74 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
+<dawn>/src/tint/lang/glsl/writer/raise/builtin_polyfill.cc:469 internal compiler error: TINT_ASSERT(!tex->Type()->Is<core::type::DepthTexture>())
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 b475b2e..928ec74 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
+<dawn>/src/tint/lang/glsl/writer/raise/builtin_polyfill.cc:469 internal compiler error: TINT_ASSERT(!tex->Type()->Is<core::type::DepthTexture>())
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 b475b2e..928ec74 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
+<dawn>/src/tint/lang/glsl/writer/raise/builtin_polyfill.cc:469 internal compiler error: TINT_ASSERT(!tex->Type()->Is<core::type::DepthTexture>())
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 b475b2e..eb66248 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,11 +1,51 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  uvec4 tint_symbol;
+} v;
+layout(binding = 0, r32ui) uniform highp uimage1D arg_0;
+uvec4 textureLoad_ad551e() {
+  uvec4 res = imageLoad(arg_0, int(1u));
+  return res;
+}
+void main() {
+  v.tint_symbol = textureLoad_ad551e();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:9: 'uimage1D' : Reserved word. 
+WARNING: 0:9: 'layout' : useless application of layout qualifier 
+ERROR: 0:9: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  uvec4 tint_symbol;
+} v;
+layout(binding = 0, r32ui) uniform highp uimage1D arg_0;
+uvec4 textureLoad_ad551e() {
+  uvec4 res = imageLoad(arg_0, int(1u));
+  return res;
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  v.tint_symbol = textureLoad_ad551e();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:7: 'uimage1D' : Reserved word. 
+WARNING: 0:7: 'layout' : useless application of layout qualifier 
+ERROR: 0:7: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 b475b2e..a3a2d86 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,11 +1,87 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  uvec4 tint_symbol;
+} v;
+layout(binding = 0, rgba16ui) uniform highp readonly uimage1D arg_0;
+uvec4 textureLoad_aebc09() {
+  uvec4 res = imageLoad(arg_0, int(1u));
+  return res;
+}
+void main() {
+  v.tint_symbol = textureLoad_aebc09();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:9: 'uimage1D' : Reserved word. 
+WARNING: 0:9: 'layout' : useless application of layout qualifier 
+ERROR: 0:9: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  uvec4 tint_symbol;
+} v;
+layout(binding = 0, rgba16ui) uniform highp readonly uimage1D arg_0;
+uvec4 textureLoad_aebc09() {
+  uvec4 res = imageLoad(arg_0, int(1u));
+  return res;
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  v.tint_symbol = textureLoad_aebc09();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:7: 'uimage1D' : Reserved word. 
+WARNING: 0:7: 'layout' : useless application of layout qualifier 
+ERROR: 0:7: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+
+struct VertexOutput {
+  vec4 pos;
+  uvec4 prevent_dce;
+};
+
+layout(binding = 0, rgba16ui) uniform highp readonly uimage1D arg_0;
+layout(location = 0) flat out uvec4 vertex_main_loc0_Output;
+uvec4 textureLoad_aebc09() {
+  uvec4 res = imageLoad(arg_0, int(1u));
+  return res;
+}
+VertexOutput vertex_main_inner() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), uvec4(0u));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = textureLoad_aebc09();
+  return tint_symbol;
+}
+void main() {
+  VertexOutput v = vertex_main_inner();
+  gl_Position = v.pos;
+  gl_Position[1u] = -(gl_Position.y);
+  gl_Position[2u] = ((2.0f * gl_Position.z) - gl_Position.w);
+  vertex_main_loc0_Output = v.prevent_dce;
+  gl_PointSize = 1.0f;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:9: 'uimage1D' : Reserved word. 
+WARNING: 0:9: 'layout' : useless application of layout qualifier 
+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/literal/textureLoad/b60a86.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/b60a86.wgsl.expected.ir.glsl
index 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 023772f..6338d00 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:994 internal compiler error: bgra8unorm should have been polyfilled to rgba8unorm
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 b475b2e..928ec74 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
+<dawn>/src/tint/lang/glsl/writer/raise/builtin_polyfill.cc:469 internal compiler error: TINT_ASSERT(!tex->Type()->Is<core::type::DepthTexture>())
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 3910173..9c09f67 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,11 +1,87 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:994 internal compiler error: bgra8unorm should have been polyfilled to rgba8unorm
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  vec4 tint_symbol;
+} v;
+layout(binding = 0, rgba8) uniform highp readonly image1D arg_0;
+vec4 textureLoad_b7f74f() {
+  vec4 res = imageLoad(arg_0, int(1u)).zyxw;
+  return res;
+}
+void main() {
+  v.tint_symbol = textureLoad_b7f74f();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:9: 'image1D' : Reserved word. 
+WARNING: 0:9: 'layout' : useless application of layout qualifier 
+ERROR: 0:9: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  vec4 tint_symbol;
+} v;
+layout(binding = 0, rgba8) uniform highp readonly image1D arg_0;
+vec4 textureLoad_b7f74f() {
+  vec4 res = imageLoad(arg_0, int(1u)).zyxw;
+  return res;
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  v.tint_symbol = textureLoad_b7f74f();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:7: 'image1D' : Reserved word. 
+WARNING: 0:7: 'layout' : useless application of layout qualifier 
+ERROR: 0:7: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+layout(binding = 0, rgba8) uniform highp readonly image1D arg_0;
+layout(location = 0) flat out vec4 vertex_main_loc0_Output;
+vec4 textureLoad_b7f74f() {
+  vec4 res = imageLoad(arg_0, int(1u)).zyxw;
+  return res;
+}
+VertexOutput vertex_main_inner() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = textureLoad_b7f74f();
+  return tint_symbol;
+}
+void main() {
+  VertexOutput v = vertex_main_inner();
+  gl_Position = v.pos;
+  gl_Position[1u] = -(gl_Position.y);
+  gl_Position[2u] = ((2.0f * gl_Position.z) - gl_Position.w);
+  vertex_main_loc0_Output = v.prevent_dce;
+  gl_PointSize = 1.0f;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:9: 'image1D' : Reserved word. 
+WARNING: 0:9: 'layout' : useless application of layout qualifier 
+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/literal/textureLoad/ba74b2.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/ba74b2.wgsl.expected.ir.glsl
index 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 b475b2e..738105f 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,11 +1,87 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  uvec4 tint_symbol;
+} v;
+uniform highp usampler1D arg_0;
+uvec4 textureLoad_bc3201() {
+  int v_1 = int(1u);
+  uvec4 res = texelFetch(arg_0, v_1, int(1u));
+  return res;
+}
+void main() {
+  v.tint_symbol = textureLoad_bc3201();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:9: 'usampler1D' : Reserved word. 
+ERROR: 0:9: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  uvec4 tint_symbol;
+} v;
+uniform highp usampler1D arg_0;
+uvec4 textureLoad_bc3201() {
+  int v_1 = int(1u);
+  uvec4 res = texelFetch(arg_0, v_1, int(1u));
+  return res;
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  v.tint_symbol = textureLoad_bc3201();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:7: 'usampler1D' : Reserved word. 
+ERROR: 0:7: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+
+struct VertexOutput {
+  vec4 pos;
+  uvec4 prevent_dce;
+};
+
+uniform highp usampler1D arg_0;
+layout(location = 0) flat out uvec4 vertex_main_loc0_Output;
+uvec4 textureLoad_bc3201() {
+  int v = int(1u);
+  uvec4 res = texelFetch(arg_0, v, int(1u));
+  return res;
+}
+VertexOutput vertex_main_inner() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), uvec4(0u));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = textureLoad_bc3201();
+  return tint_symbol;
+}
+void main() {
+  VertexOutput v_1 = vertex_main_inner();
+  gl_Position = v_1.pos;
+  gl_Position[1u] = -(gl_Position.y);
+  gl_Position[2u] = ((2.0f * gl_Position.z) - gl_Position.w);
+  vertex_main_loc0_Output = v_1.prevent_dce;
+  gl_PointSize = 1.0f;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:9: 'usampler1D' : Reserved word. 
+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/literal/textureLoad/bd990a.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/bd990a.wgsl.expected.ir.glsl
index 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 b475b2e..6b49248 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,11 +1,87 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  vec4 tint_symbol;
+} v;
+layout(binding = 0, rgba16f) uniform highp readonly image1D arg_0;
+vec4 textureLoad_c02b74() {
+  vec4 res = imageLoad(arg_0, int(1));
+  return res;
+}
+void main() {
+  v.tint_symbol = textureLoad_c02b74();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:9: 'image1D' : Reserved word. 
+WARNING: 0:9: 'layout' : useless application of layout qualifier 
+ERROR: 0:9: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  vec4 tint_symbol;
+} v;
+layout(binding = 0, rgba16f) uniform highp readonly image1D arg_0;
+vec4 textureLoad_c02b74() {
+  vec4 res = imageLoad(arg_0, int(1));
+  return res;
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  v.tint_symbol = textureLoad_c02b74();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:7: 'image1D' : Reserved word. 
+WARNING: 0:7: 'layout' : useless application of layout qualifier 
+ERROR: 0:7: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+layout(binding = 0, rgba16f) uniform highp readonly image1D arg_0;
+layout(location = 0) flat out vec4 vertex_main_loc0_Output;
+vec4 textureLoad_c02b74() {
+  vec4 res = imageLoad(arg_0, int(1));
+  return res;
+}
+VertexOutput vertex_main_inner() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = textureLoad_c02b74();
+  return tint_symbol;
+}
+void main() {
+  VertexOutput v = vertex_main_inner();
+  gl_Position = v.pos;
+  gl_Position[1u] = -(gl_Position.y);
+  gl_Position[2u] = ((2.0f * gl_Position.z) - gl_Position.w);
+  vertex_main_loc0_Output = v.prevent_dce;
+  gl_PointSize = 1.0f;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:9: 'image1D' : Reserved word. 
+WARNING: 0:9: 'layout' : useless application of layout qualifier 
+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/literal/textureLoad/c16e00.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/c16e00.wgsl.expected.ir.glsl
index b475b2e..928ec74 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
+<dawn>/src/tint/lang/glsl/writer/raise/builtin_polyfill.cc:469 internal compiler error: TINT_ASSERT(!tex->Type()->Is<core::type::DepthTexture>())
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 b475b2e..06fc7a9 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,11 +1,87 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  vec4 tint_symbol;
+} v;
+layout(binding = 0, r32f) uniform highp readonly image1D arg_0;
+vec4 textureLoad_c7cbed() {
+  vec4 res = imageLoad(arg_0, int(1));
+  return res;
+}
+void main() {
+  v.tint_symbol = textureLoad_c7cbed();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:9: 'image1D' : Reserved word. 
+WARNING: 0:9: 'layout' : useless application of layout qualifier 
+ERROR: 0:9: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  vec4 tint_symbol;
+} v;
+layout(binding = 0, r32f) uniform highp readonly image1D arg_0;
+vec4 textureLoad_c7cbed() {
+  vec4 res = imageLoad(arg_0, int(1));
+  return res;
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  v.tint_symbol = textureLoad_c7cbed();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:7: 'image1D' : Reserved word. 
+WARNING: 0:7: 'layout' : useless application of layout qualifier 
+ERROR: 0:7: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+layout(binding = 0, r32f) uniform highp readonly image1D arg_0;
+layout(location = 0) flat out vec4 vertex_main_loc0_Output;
+vec4 textureLoad_c7cbed() {
+  vec4 res = imageLoad(arg_0, int(1));
+  return res;
+}
+VertexOutput vertex_main_inner() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = textureLoad_c7cbed();
+  return tint_symbol;
+}
+void main() {
+  VertexOutput v = vertex_main_inner();
+  gl_Position = v.pos;
+  gl_Position[1u] = -(gl_Position.y);
+  gl_Position[2u] = ((2.0f * gl_Position.z) - gl_Position.w);
+  vertex_main_loc0_Output = v.prevent_dce;
+  gl_PointSize = 1.0f;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:9: 'image1D' : Reserved word. 
+WARNING: 0:9: 'layout' : useless application of layout qualifier 
+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/literal/textureLoad/c7e313.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/c7e313.wgsl.expected.ir.glsl
index 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 b475b2e..2ff2029 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,11 +1,51 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  ivec4 tint_symbol;
+} v;
+layout(binding = 0, r32i) uniform highp iimage1D arg_0;
+ivec4 textureLoad_c80691() {
+  ivec4 res = imageLoad(arg_0, int(1u));
+  return res;
+}
+void main() {
+  v.tint_symbol = textureLoad_c80691();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:9: 'iimage1D' : Reserved word. 
+WARNING: 0:9: 'layout' : useless application of layout qualifier 
+ERROR: 0:9: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  ivec4 tint_symbol;
+} v;
+layout(binding = 0, r32i) uniform highp iimage1D arg_0;
+ivec4 textureLoad_c80691() {
+  ivec4 res = imageLoad(arg_0, int(1u));
+  return res;
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  v.tint_symbol = textureLoad_c80691();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:7: 'iimage1D' : Reserved word. 
+WARNING: 0:7: 'layout' : useless application of layout qualifier 
+ERROR: 0:7: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 b475b2e..2c1bc5d 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,11 +1,87 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  ivec4 tint_symbol;
+} v;
+layout(binding = 0, rgba8i) uniform highp readonly iimage1D arg_0;
+ivec4 textureLoad_c9cc40() {
+  ivec4 res = imageLoad(arg_0, int(1));
+  return res;
+}
+void main() {
+  v.tint_symbol = textureLoad_c9cc40();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:9: 'iimage1D' : Reserved word. 
+WARNING: 0:9: 'layout' : useless application of layout qualifier 
+ERROR: 0:9: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  ivec4 tint_symbol;
+} v;
+layout(binding = 0, rgba8i) uniform highp readonly iimage1D arg_0;
+ivec4 textureLoad_c9cc40() {
+  ivec4 res = imageLoad(arg_0, int(1));
+  return res;
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  v.tint_symbol = textureLoad_c9cc40();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:7: 'iimage1D' : Reserved word. 
+WARNING: 0:7: 'layout' : useless application of layout qualifier 
+ERROR: 0:7: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+
+struct VertexOutput {
+  vec4 pos;
+  ivec4 prevent_dce;
+};
+
+layout(binding = 0, rgba8i) uniform highp readonly iimage1D arg_0;
+layout(location = 0) flat out ivec4 vertex_main_loc0_Output;
+ivec4 textureLoad_c9cc40() {
+  ivec4 res = imageLoad(arg_0, int(1));
+  return res;
+}
+VertexOutput vertex_main_inner() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), ivec4(0));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = textureLoad_c9cc40();
+  return tint_symbol;
+}
+void main() {
+  VertexOutput v = vertex_main_inner();
+  gl_Position = v.pos;
+  gl_Position[1u] = -(gl_Position.y);
+  gl_Position[2u] = ((2.0f * gl_Position.z) - gl_Position.w);
+  vertex_main_loc0_Output = v.prevent_dce;
+  gl_PointSize = 1.0f;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:9: 'iimage1D' : Reserved word. 
+WARNING: 0:9: 'layout' : useless application of layout qualifier 
+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/literal/textureLoad/c9f310.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/c9f310.wgsl.expected.ir.glsl
index b475b2e..cda8f28 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,11 +1,51 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  ivec4 tint_symbol;
+} v;
+layout(binding = 0, r32i) uniform highp iimage1D arg_0;
+ivec4 textureLoad_c9f310() {
+  ivec4 res = imageLoad(arg_0, int(1));
+  return res;
+}
+void main() {
+  v.tint_symbol = textureLoad_c9f310();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:9: 'iimage1D' : Reserved word. 
+WARNING: 0:9: 'layout' : useless application of layout qualifier 
+ERROR: 0:9: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  ivec4 tint_symbol;
+} v;
+layout(binding = 0, r32i) uniform highp iimage1D arg_0;
+ivec4 textureLoad_c9f310() {
+  ivec4 res = imageLoad(arg_0, int(1));
+  return res;
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  v.tint_symbol = textureLoad_c9f310();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:7: 'iimage1D' : Reserved word. 
+WARNING: 0:7: 'layout' : useless application of layout qualifier 
+ERROR: 0:7: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 b475b2e..928ec74 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
+<dawn>/src/tint/lang/glsl/writer/raise/builtin_polyfill.cc:469 internal compiler error: TINT_ASSERT(!tex->Type()->Is<core::type::DepthTexture>())
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 3910173..b4d8e26 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,11 +1,87 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:994 internal compiler error: bgra8unorm should have been polyfilled to rgba8unorm
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  vec4 tint_symbol;
+} v;
+layout(binding = 0, rgba8) uniform highp readonly image1D arg_0;
+vec4 textureLoad_d357bb() {
+  vec4 res = imageLoad(arg_0, int(1)).zyxw;
+  return res;
+}
+void main() {
+  v.tint_symbol = textureLoad_d357bb();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:9: 'image1D' : Reserved word. 
+WARNING: 0:9: 'layout' : useless application of layout qualifier 
+ERROR: 0:9: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  vec4 tint_symbol;
+} v;
+layout(binding = 0, rgba8) uniform highp readonly image1D arg_0;
+vec4 textureLoad_d357bb() {
+  vec4 res = imageLoad(arg_0, int(1)).zyxw;
+  return res;
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  v.tint_symbol = textureLoad_d357bb();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:7: 'image1D' : Reserved word. 
+WARNING: 0:7: 'layout' : useless application of layout qualifier 
+ERROR: 0:7: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+layout(binding = 0, rgba8) uniform highp readonly image1D arg_0;
+layout(location = 0) flat out vec4 vertex_main_loc0_Output;
+vec4 textureLoad_d357bb() {
+  vec4 res = imageLoad(arg_0, int(1)).zyxw;
+  return res;
+}
+VertexOutput vertex_main_inner() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = textureLoad_d357bb();
+  return tint_symbol;
+}
+void main() {
+  VertexOutput v = vertex_main_inner();
+  gl_Position = v.pos;
+  gl_Position[1u] = -(gl_Position.y);
+  gl_Position[2u] = ((2.0f * gl_Position.z) - gl_Position.w);
+  vertex_main_loc0_Output = v.prevent_dce;
+  gl_PointSize = 1.0f;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:9: 'image1D' : Reserved word. 
+WARNING: 0:9: 'layout' : useless application of layout qualifier 
+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/literal/textureLoad/d37a08.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/d37a08.wgsl.expected.ir.glsl
index 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 023772f..6338d00 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:994 internal compiler error: bgra8unorm should have been polyfilled to rgba8unorm
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 023772f..6338d00 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:994 internal compiler error: bgra8unorm should have been polyfilled to rgba8unorm
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 b475b2e..ee3b22c 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,11 +1,87 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  ivec4 tint_symbol;
+} v;
+layout(binding = 0, rgba32i) uniform highp readonly iimage1D arg_0;
+ivec4 textureLoad_ddeed3() {
+  ivec4 res = imageLoad(arg_0, int(1));
+  return res;
+}
+void main() {
+  v.tint_symbol = textureLoad_ddeed3();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:9: 'iimage1D' : Reserved word. 
+WARNING: 0:9: 'layout' : useless application of layout qualifier 
+ERROR: 0:9: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  ivec4 tint_symbol;
+} v;
+layout(binding = 0, rgba32i) uniform highp readonly iimage1D arg_0;
+ivec4 textureLoad_ddeed3() {
+  ivec4 res = imageLoad(arg_0, int(1));
+  return res;
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  v.tint_symbol = textureLoad_ddeed3();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:7: 'iimage1D' : Reserved word. 
+WARNING: 0:7: 'layout' : useless application of layout qualifier 
+ERROR: 0:7: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+
+struct VertexOutput {
+  vec4 pos;
+  ivec4 prevent_dce;
+};
+
+layout(binding = 0, rgba32i) uniform highp readonly iimage1D arg_0;
+layout(location = 0) flat out ivec4 vertex_main_loc0_Output;
+ivec4 textureLoad_ddeed3() {
+  ivec4 res = imageLoad(arg_0, int(1));
+  return res;
+}
+VertexOutput vertex_main_inner() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), ivec4(0));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = textureLoad_ddeed3();
+  return tint_symbol;
+}
+void main() {
+  VertexOutput v = vertex_main_inner();
+  gl_Position = v.pos;
+  gl_Position[1u] = -(gl_Position.y);
+  gl_Position[2u] = ((2.0f * gl_Position.z) - gl_Position.w);
+  vertex_main_loc0_Output = v.prevent_dce;
+  gl_PointSize = 1.0f;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:9: 'iimage1D' : Reserved word. 
+WARNING: 0:9: 'layout' : useless application of layout qualifier 
+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/literal/textureLoad/de5a0e.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/de5a0e.wgsl.expected.ir.glsl
index 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 b475b2e..dde42ff 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,11 +1,87 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  ivec4 tint_symbol;
+} v;
+layout(binding = 0, r32i) uniform highp readonly iimage1D arg_0;
+ivec4 textureLoad_e2292f() {
+  ivec4 res = imageLoad(arg_0, int(1u));
+  return res;
+}
+void main() {
+  v.tint_symbol = textureLoad_e2292f();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:9: 'iimage1D' : Reserved word. 
+WARNING: 0:9: 'layout' : useless application of layout qualifier 
+ERROR: 0:9: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  ivec4 tint_symbol;
+} v;
+layout(binding = 0, r32i) uniform highp readonly iimage1D arg_0;
+ivec4 textureLoad_e2292f() {
+  ivec4 res = imageLoad(arg_0, int(1u));
+  return res;
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  v.tint_symbol = textureLoad_e2292f();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:7: 'iimage1D' : Reserved word. 
+WARNING: 0:7: 'layout' : useless application of layout qualifier 
+ERROR: 0:7: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+
+struct VertexOutput {
+  vec4 pos;
+  ivec4 prevent_dce;
+};
+
+layout(binding = 0, r32i) uniform highp readonly iimage1D arg_0;
+layout(location = 0) flat out ivec4 vertex_main_loc0_Output;
+ivec4 textureLoad_e2292f() {
+  ivec4 res = imageLoad(arg_0, int(1u));
+  return res;
+}
+VertexOutput vertex_main_inner() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), ivec4(0));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = textureLoad_e2292f();
+  return tint_symbol;
+}
+void main() {
+  VertexOutput v = vertex_main_inner();
+  gl_Position = v.pos;
+  gl_Position[1u] = -(gl_Position.y);
+  gl_Position[2u] = ((2.0f * gl_Position.z) - gl_Position.w);
+  vertex_main_loc0_Output = v.prevent_dce;
+  gl_PointSize = 1.0f;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:9: 'iimage1D' : Reserved word. 
+WARNING: 0:9: 'layout' : useless application of layout qualifier 
+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/literal/textureLoad/e2d7da.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/e2d7da.wgsl.expected.ir.glsl
index 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 b475b2e..08a571f 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,11 +1,87 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  vec4 tint_symbol;
+} v;
+layout(binding = 0, rgba8) uniform highp readonly image1D arg_0;
+vec4 textureLoad_e92dd0() {
+  vec4 res = imageLoad(arg_0, int(1u));
+  return res;
+}
+void main() {
+  v.tint_symbol = textureLoad_e92dd0();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:9: 'image1D' : Reserved word. 
+WARNING: 0:9: 'layout' : useless application of layout qualifier 
+ERROR: 0:9: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  vec4 tint_symbol;
+} v;
+layout(binding = 0, rgba8) uniform highp readonly image1D arg_0;
+vec4 textureLoad_e92dd0() {
+  vec4 res = imageLoad(arg_0, int(1u));
+  return res;
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  v.tint_symbol = textureLoad_e92dd0();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:7: 'image1D' : Reserved word. 
+WARNING: 0:7: 'layout' : useless application of layout qualifier 
+ERROR: 0:7: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+layout(binding = 0, rgba8) uniform highp readonly image1D arg_0;
+layout(location = 0) flat out vec4 vertex_main_loc0_Output;
+vec4 textureLoad_e92dd0() {
+  vec4 res = imageLoad(arg_0, int(1u));
+  return res;
+}
+VertexOutput vertex_main_inner() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = textureLoad_e92dd0();
+  return tint_symbol;
+}
+void main() {
+  VertexOutput v = vertex_main_inner();
+  gl_Position = v.pos;
+  gl_Position[1u] = -(gl_Position.y);
+  gl_Position[2u] = ((2.0f * gl_Position.z) - gl_Position.w);
+  vertex_main_loc0_Output = v.prevent_dce;
+  gl_PointSize = 1.0f;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:9: 'image1D' : Reserved word. 
+WARNING: 0:9: 'layout' : useless application of layout qualifier 
+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/literal/textureLoad/e9eb65.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/e9eb65.wgsl.expected.ir.glsl
index 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 b475b2e..bf7e43f 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,11 +1,87 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  ivec4 tint_symbol;
+} v;
+layout(binding = 0, r32i) uniform highp readonly iimage1D arg_0;
+ivec4 textureLoad_f06b69() {
+  ivec4 res = imageLoad(arg_0, int(1));
+  return res;
+}
+void main() {
+  v.tint_symbol = textureLoad_f06b69();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:9: 'iimage1D' : Reserved word. 
+WARNING: 0:9: 'layout' : useless application of layout qualifier 
+ERROR: 0:9: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  ivec4 tint_symbol;
+} v;
+layout(binding = 0, r32i) uniform highp readonly iimage1D arg_0;
+ivec4 textureLoad_f06b69() {
+  ivec4 res = imageLoad(arg_0, int(1));
+  return res;
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  v.tint_symbol = textureLoad_f06b69();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:7: 'iimage1D' : Reserved word. 
+WARNING: 0:7: 'layout' : useless application of layout qualifier 
+ERROR: 0:7: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+
+struct VertexOutput {
+  vec4 pos;
+  ivec4 prevent_dce;
+};
+
+layout(binding = 0, r32i) uniform highp readonly iimage1D arg_0;
+layout(location = 0) flat out ivec4 vertex_main_loc0_Output;
+ivec4 textureLoad_f06b69() {
+  ivec4 res = imageLoad(arg_0, int(1));
+  return res;
+}
+VertexOutput vertex_main_inner() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), ivec4(0));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = textureLoad_f06b69();
+  return tint_symbol;
+}
+void main() {
+  VertexOutput v = vertex_main_inner();
+  gl_Position = v.pos;
+  gl_Position[1u] = -(gl_Position.y);
+  gl_Position[2u] = ((2.0f * gl_Position.z) - gl_Position.w);
+  vertex_main_loc0_Output = v.prevent_dce;
+  gl_PointSize = 1.0f;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:9: 'iimage1D' : Reserved word. 
+WARNING: 0:9: 'layout' : useless application of layout qualifier 
+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/literal/textureLoad/f2c311.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/f2c311.wgsl.expected.ir.glsl
index 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 b475b2e..470ad58 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,11 +1,87 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  ivec4 tint_symbol;
+} v;
+layout(binding = 0, rgba8i) uniform highp readonly iimage1D arg_0;
+ivec4 textureLoad_f35ac7() {
+  ivec4 res = imageLoad(arg_0, int(1u));
+  return res;
+}
+void main() {
+  v.tint_symbol = textureLoad_f35ac7();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:9: 'iimage1D' : Reserved word. 
+WARNING: 0:9: 'layout' : useless application of layout qualifier 
+ERROR: 0:9: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  ivec4 tint_symbol;
+} v;
+layout(binding = 0, rgba8i) uniform highp readonly iimage1D arg_0;
+ivec4 textureLoad_f35ac7() {
+  ivec4 res = imageLoad(arg_0, int(1u));
+  return res;
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  v.tint_symbol = textureLoad_f35ac7();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:7: 'iimage1D' : Reserved word. 
+WARNING: 0:7: 'layout' : useless application of layout qualifier 
+ERROR: 0:7: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+
+struct VertexOutput {
+  vec4 pos;
+  ivec4 prevent_dce;
+};
+
+layout(binding = 0, rgba8i) uniform highp readonly iimage1D arg_0;
+layout(location = 0) flat out ivec4 vertex_main_loc0_Output;
+ivec4 textureLoad_f35ac7() {
+  ivec4 res = imageLoad(arg_0, int(1u));
+  return res;
+}
+VertexOutput vertex_main_inner() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), ivec4(0));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = textureLoad_f35ac7();
+  return tint_symbol;
+}
+void main() {
+  VertexOutput v = vertex_main_inner();
+  gl_Position = v.pos;
+  gl_Position[1u] = -(gl_Position.y);
+  gl_Position[2u] = ((2.0f * gl_Position.z) - gl_Position.w);
+  vertex_main_loc0_Output = v.prevent_dce;
+  gl_PointSize = 1.0f;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:9: 'iimage1D' : Reserved word. 
+WARNING: 0:9: 'layout' : useless application of layout qualifier 
+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/literal/textureLoad/f5fbc6.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/f5fbc6.wgsl.expected.ir.glsl
index 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 b475b2e..4de765e 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,11 +1,87 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  ivec4 tint_symbol;
+} v;
+layout(binding = 0, rgba16i) uniform highp readonly iimage1D arg_0;
+ivec4 textureLoad_f9eaaf() {
+  ivec4 res = imageLoad(arg_0, int(1u));
+  return res;
+}
+void main() {
+  v.tint_symbol = textureLoad_f9eaaf();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:9: 'iimage1D' : Reserved word. 
+WARNING: 0:9: 'layout' : useless application of layout qualifier 
+ERROR: 0:9: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  ivec4 tint_symbol;
+} v;
+layout(binding = 0, rgba16i) uniform highp readonly iimage1D arg_0;
+ivec4 textureLoad_f9eaaf() {
+  ivec4 res = imageLoad(arg_0, int(1u));
+  return res;
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  v.tint_symbol = textureLoad_f9eaaf();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:7: 'iimage1D' : Reserved word. 
+WARNING: 0:7: 'layout' : useless application of layout qualifier 
+ERROR: 0:7: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+
+struct VertexOutput {
+  vec4 pos;
+  ivec4 prevent_dce;
+};
+
+layout(binding = 0, rgba16i) uniform highp readonly iimage1D arg_0;
+layout(location = 0) flat out ivec4 vertex_main_loc0_Output;
+ivec4 textureLoad_f9eaaf() {
+  ivec4 res = imageLoad(arg_0, int(1u));
+  return res;
+}
+VertexOutput vertex_main_inner() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), ivec4(0));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = textureLoad_f9eaaf();
+  return tint_symbol;
+}
+void main() {
+  VertexOutput v = vertex_main_inner();
+  gl_Position = v.pos;
+  gl_Position[1u] = -(gl_Position.y);
+  gl_Position[2u] = ((2.0f * gl_Position.z) - gl_Position.w);
+  vertex_main_loc0_Output = v.prevent_dce;
+  gl_PointSize = 1.0f;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:9: 'iimage1D' : Reserved word. 
+WARNING: 0:9: 'layout' : useless application of layout qualifier 
+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/literal/textureLoad/fc47ff.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/fc47ff.wgsl.expected.ir.glsl
index 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 b475b2e..f1adf9e 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,11 +1,228 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
 
-tint executable returned error: signal: trace/BPT trap
+@group(0) @binding(0) var<storage, read_write> prevent_dce : f32;
+
+@group(1) @binding(0) var arg_0 : texture_depth_multisampled_2d;
+
+fn textureLoad_fcd23d() -> f32 {
+  var res : f32 = textureLoad(arg_0, vec2<u32>(1u), 1i);
+  return res;
+}
+
+struct VertexOutput {
+  @builtin(position)
+  pos : vec4<f32>,
+  @location(0) @interpolate(flat)
+  prevent_dce : f32,
+}
+
+@fragment
+fn fragment_main() {
+  prevent_dce = textureLoad_fcd23d();
+}
+
+Failed to generate: :15:14 error: glsl.texelFetch: no matching call to 'glsl.texelFetch(texture_depth_multisampled_2d, vec2<i32>, i32)'
+
+5 candidate functions:
+ • 'glsl.texelFetch(texture: texture_2d<T>  ✗ , location: vec2<i32>  ✓ , level: i32  ✓ ) -> vec4<T>' where:
+      ✗  'T' is 'f32', 'i32' or 'u32'
+ • 'glsl.texelFetch(texture: texture_multisampled_2d<T>  ✗ , location: vec2<i32>  ✓ , sample_index: i32  ✓ ) -> vec4<T>' where:
+      ✗  'T' is 'f32', 'i32' or 'u32'
+ • 'glsl.texelFetch(texture: texture_1d<T>  ✗ , location: i32  ✗ , level: i32  ✓ ) -> vec4<T>' where:
+      ✗  'T' is 'f32', 'i32' or 'u32'
+ • 'glsl.texelFetch(texture: texture_2d_array<T>  ✗ , location: vec3<i32>  ✗ , level: i32  ✓ ) -> vec4<T>' where:
+      ✗  'T' is 'f32', 'i32' or 'u32'
+ • 'glsl.texelFetch(texture: texture_3d<T>  ✗ , location: vec3<i32>  ✗ , level: i32  ✓ ) -> vec4<T>' where:
+      ✗  'T' is 'f32', 'i32' or 'u32'
+
+    %7:f32 = glsl.texelFetch %4, %5, %6
+             ^^^^^^^^^^^^^^^
+
+:11:3 note: in block
+  $B2: {
+  ^^^
+
+note: # Disassembly
+tint_symbol_1 = struct @align(4), @block {
+  tint_symbol:f32 @offset(0)
+}
+
+$B1: {  # root
+  %1:ptr<storage, tint_symbol_1, read_write> = var @binding_point(0, 0)
+  %arg_0:ptr<handle, texture_depth_multisampled_2d, read> = var @binding_point(0, 0)
+}
+
+%textureLoad_fcd23d = func():f32 {
+  $B2: {
+    %4:texture_depth_multisampled_2d = load %arg_0
+    %5:vec2<i32> = convert vec2<u32>(1u)
+    %6:i32 = convert 1i
+    %7:f32 = glsl.texelFetch %4, %5, %6
+    %res:ptr<function, f32, read_write> = var, %7
+    %9:f32 = load %res
+    ret %9
+  }
+}
+%fragment_main = @fragment func():void {
+  $B3: {
+    %11:f32 = call %textureLoad_fcd23d
+    %12:ptr<storage, f32, read_write> = access %1, 0u
+    store %12, %11
+    ret
+  }
+}
+
+
+@group(0) @binding(0) var<storage, read_write> prevent_dce : f32;
+
+@group(1) @binding(0) var arg_0 : texture_depth_multisampled_2d;
+
+fn textureLoad_fcd23d() -> f32 {
+  var res : f32 = textureLoad(arg_0, vec2<u32>(1u), 1i);
+  return res;
+}
+
+struct VertexOutput {
+  @builtin(position)
+  pos : vec4<f32>,
+  @location(0) @interpolate(flat)
+  prevent_dce : f32,
+}
+
+@compute @workgroup_size(1)
+fn compute_main() {
+  prevent_dce = textureLoad_fcd23d();
+}
+
+Failed to generate: :15:14 error: glsl.texelFetch: no matching call to 'glsl.texelFetch(texture_depth_multisampled_2d, vec2<i32>, i32)'
+
+5 candidate functions:
+ • 'glsl.texelFetch(texture: texture_2d<T>  ✗ , location: vec2<i32>  ✓ , level: i32  ✓ ) -> vec4<T>' where:
+      ✗  'T' is 'f32', 'i32' or 'u32'
+ • 'glsl.texelFetch(texture: texture_multisampled_2d<T>  ✗ , location: vec2<i32>  ✓ , sample_index: i32  ✓ ) -> vec4<T>' where:
+      ✗  'T' is 'f32', 'i32' or 'u32'
+ • 'glsl.texelFetch(texture: texture_1d<T>  ✗ , location: i32  ✗ , level: i32  ✓ ) -> vec4<T>' where:
+      ✗  'T' is 'f32', 'i32' or 'u32'
+ • 'glsl.texelFetch(texture: texture_2d_array<T>  ✗ , location: vec3<i32>  ✗ , level: i32  ✓ ) -> vec4<T>' where:
+      ✗  'T' is 'f32', 'i32' or 'u32'
+ • 'glsl.texelFetch(texture: texture_3d<T>  ✗ , location: vec3<i32>  ✗ , level: i32  ✓ ) -> vec4<T>' where:
+      ✗  'T' is 'f32', 'i32' or 'u32'
+
+    %7:f32 = glsl.texelFetch %4, %5, %6
+             ^^^^^^^^^^^^^^^
+
+:11:3 note: in block
+  $B2: {
+  ^^^
+
+note: # Disassembly
+tint_symbol_1 = struct @align(4), @block {
+  tint_symbol:f32 @offset(0)
+}
+
+$B1: {  # root
+  %1:ptr<storage, tint_symbol_1, read_write> = var @binding_point(0, 0)
+  %arg_0:ptr<handle, texture_depth_multisampled_2d, read> = var @binding_point(0, 0)
+}
+
+%textureLoad_fcd23d = func():f32 {
+  $B2: {
+    %4:texture_depth_multisampled_2d = load %arg_0
+    %5:vec2<i32> = convert vec2<u32>(1u)
+    %6:i32 = convert 1i
+    %7:f32 = glsl.texelFetch %4, %5, %6
+    %res:ptr<function, f32, read_write> = var, %7
+    %9:f32 = load %res
+    ret %9
+  }
+}
+%compute_main = @compute @workgroup_size(1, 1, 1) func():void {
+  $B3: {
+    %11:f32 = call %textureLoad_fcd23d
+    %12:ptr<storage, f32, read_write> = access %1, 0u
+    store %12, %11
+    ret
+  }
+}
+
+
+@group(1) @binding(0) var arg_0 : texture_depth_multisampled_2d;
+
+fn textureLoad_fcd23d() -> f32 {
+  var res : f32 = textureLoad(arg_0, vec2<u32>(1u), 1i);
+  return res;
+}
+
+struct VertexOutput {
+  @builtin(position)
+  pos : vec4<f32>,
+  @location(0) @interpolate(flat)
+  prevent_dce : f32,
+}
+
+@vertex
+fn vertex_main() -> VertexOutput {
+  var tint_symbol : VertexOutput;
+  tint_symbol.pos = vec4<f32>();
+  tint_symbol.prevent_dce = textureLoad_fcd23d();
+  return tint_symbol;
+}
+
+Failed to generate: :15:14 error: glsl.texelFetch: no matching call to 'glsl.texelFetch(texture_depth_multisampled_2d, vec2<i32>, i32)'
+
+5 candidate functions:
+ • 'glsl.texelFetch(texture: texture_2d<T>  ✗ , location: vec2<i32>  ✓ , level: i32  ✓ ) -> vec4<T>' where:
+      ✗  'T' is 'f32', 'i32' or 'u32'
+ • 'glsl.texelFetch(texture: texture_multisampled_2d<T>  ✗ , location: vec2<i32>  ✓ , sample_index: i32  ✓ ) -> vec4<T>' where:
+      ✗  'T' is 'f32', 'i32' or 'u32'
+ • 'glsl.texelFetch(texture: texture_1d<T>  ✗ , location: i32  ✗ , level: i32  ✓ ) -> vec4<T>' where:
+      ✗  'T' is 'f32', 'i32' or 'u32'
+ • 'glsl.texelFetch(texture: texture_2d_array<T>  ✗ , location: vec3<i32>  ✗ , level: i32  ✓ ) -> vec4<T>' where:
+      ✗  'T' is 'f32', 'i32' or 'u32'
+ • 'glsl.texelFetch(texture: texture_3d<T>  ✗ , location: vec3<i32>  ✗ , level: i32  ✓ ) -> vec4<T>' where:
+      ✗  'T' is 'f32', 'i32' or 'u32'
+
+    %6:f32 = glsl.texelFetch %3, %4, %5
+             ^^^^^^^^^^^^^^^
+
+:11:3 note: in block
+  $B2: {
+  ^^^
+
+note: # Disassembly
+VertexOutput = struct @align(16) {
+  pos:vec4<f32> @offset(0), @builtin(position)
+  prevent_dce:f32 @offset(16), @location(0), @interpolate(flat)
+}
+
+$B1: {  # root
+  %arg_0:ptr<handle, texture_depth_multisampled_2d, read> = var @binding_point(0, 0)
+}
+
+%textureLoad_fcd23d = func():f32 {
+  $B2: {
+    %3:texture_depth_multisampled_2d = load %arg_0
+    %4:vec2<i32> = convert vec2<u32>(1u)
+    %5:i32 = convert 1i
+    %6:f32 = glsl.texelFetch %3, %4, %5
+    %res:ptr<function, f32, read_write> = var, %6
+    %8:f32 = load %res
+    ret %8
+  }
+}
+%vertex_main = @vertex func():VertexOutput {
+  $B3: {
+    %tint_symbol:ptr<function, VertexOutput, read_write> = var
+    %11:ptr<function, vec4<f32>, read_write> = access %tint_symbol, 0u
+    store %11, vec4<f32>(0.0f)
+    %12:ptr<function, f32, read_write> = access %tint_symbol, 1u
+    %13:f32 = call %textureLoad_fcd23d
+    store %12, %13
+    %14:VertexOutput = load %tint_symbol
+    ret %14
+  }
+}
+
+
+tint executable returned error: exit status 1
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 b475b2e..5ce0d38 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,11 +1,87 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  vec4 tint_symbol;
+} v;
+layout(binding = 0, rgba8_snorm) uniform highp readonly image1D arg_0;
+vec4 textureLoad_fe222a() {
+  vec4 res = imageLoad(arg_0, int(1));
+  return res;
+}
+void main() {
+  v.tint_symbol = textureLoad_fe222a();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:9: 'image1D' : Reserved word. 
+WARNING: 0:9: 'layout' : useless application of layout qualifier 
+ERROR: 0:9: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  vec4 tint_symbol;
+} v;
+layout(binding = 0, rgba8_snorm) uniform highp readonly image1D arg_0;
+vec4 textureLoad_fe222a() {
+  vec4 res = imageLoad(arg_0, int(1));
+  return res;
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  v.tint_symbol = textureLoad_fe222a();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:7: 'image1D' : Reserved word. 
+WARNING: 0:7: 'layout' : useless application of layout qualifier 
+ERROR: 0:7: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+layout(binding = 0, rgba8_snorm) uniform highp readonly image1D arg_0;
+layout(location = 0) flat out vec4 vertex_main_loc0_Output;
+vec4 textureLoad_fe222a() {
+  vec4 res = imageLoad(arg_0, int(1));
+  return res;
+}
+VertexOutput vertex_main_inner() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = textureLoad_fe222a();
+  return tint_symbol;
+}
+void main() {
+  VertexOutput v = vertex_main_inner();
+  gl_Position = v.pos;
+  gl_Position[1u] = -(gl_Position.y);
+  gl_Position[2u] = ((2.0f * gl_Position.z) - gl_Position.w);
+  vertex_main_loc0_Output = v.prevent_dce;
+  gl_PointSize = 1.0f;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:9: 'image1D' : Reserved word. 
+WARNING: 0:9: 'layout' : useless application of layout qualifier 
+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/literal/textureLoad/fe2c1b.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/fe2c1b.wgsl.expected.ir.glsl
index 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 b475b2e..928ec74 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
+<dawn>/src/tint/lang/glsl/writer/raise/builtin_polyfill.cc:469 internal compiler error: TINT_ASSERT(!tex->Type()->Is<core::type::DepthTexture>())
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 023772f..6338d00 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:994 internal compiler error: bgra8unorm should have been polyfilled to rgba8unorm
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 14389ea..7eca8f7 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureNumLevels
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureNumLevels
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 14389ea..7eca8f7 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureNumLevels
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureNumLevels
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 14389ea..7eca8f7 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureNumLevels
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureNumLevels
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 14389ea..7eca8f7 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureNumLevels
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureNumLevels
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 14389ea..7eca8f7 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureNumLevels
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureNumLevels
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 14389ea..7eca8f7 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureNumLevels
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureNumLevels
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 14389ea..7eca8f7 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureNumLevels
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureNumLevels
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 14389ea..7eca8f7 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureNumLevels
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureNumLevels
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 14389ea..7eca8f7 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureNumLevels
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureNumLevels
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 14389ea..7eca8f7 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureNumLevels
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureNumLevels
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 14389ea..7eca8f7 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureNumLevels
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureNumLevels
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 14389ea..7eca8f7 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureNumLevels
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureNumLevels
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 14389ea..7eca8f7 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureNumLevels
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureNumLevels
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 14389ea..7eca8f7 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureNumLevels
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureNumLevels
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 14389ea..7eca8f7 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureNumLevels
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureNumLevels
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 14389ea..7eca8f7 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureNumLevels
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureNumLevels
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 14389ea..7eca8f7 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureNumLevels
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureNumLevels
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 14389ea..7eca8f7 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureNumLevels
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureNumLevels
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 14389ea..7eca8f7 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureNumLevels
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureNumLevels
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 14389ea..7eca8f7 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureNumLevels
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureNumLevels
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 14389ea..7eca8f7 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureNumLevels
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureNumLevels
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 14389ea..7eca8f7 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureNumLevels
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureNumLevels
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 afeb852..f86bf54 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureNumSamples
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureNumSamples
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 afeb852..f86bf54 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureNumSamples
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureNumSamples
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 afeb852..f86bf54 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureNumSamples
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureNumSamples
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 afeb852..f86bf54 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureNumSamples
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureNumSamples
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 c99d849..0f5dc88 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSample
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSample
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 c99d849..0f5dc88 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSample
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSample
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 c99d849..0f5dc88 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSample
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSample
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 c99d849..0f5dc88 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSample
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSample
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 c99d849..0f5dc88 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSample
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSample
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 c99d849..0f5dc88 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSample
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSample
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 c99d849..0f5dc88 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSample
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSample
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 c99d849..0f5dc88 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSample
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSample
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 c99d849..0f5dc88 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSample
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSample
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 c99d849..0f5dc88 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSample
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSample
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 c99d849..0f5dc88 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSample
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSample
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 c99d849..0f5dc88 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSample
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSample
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 c99d849..0f5dc88 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSample
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSample
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 c99d849..0f5dc88 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSample
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSample
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 c99d849..0f5dc88 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSample
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSample
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 c99d849..0f5dc88 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSample
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSample
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 c99d849..0f5dc88 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSample
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSample
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 c99d849..0f5dc88 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSample
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSample
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 c99d849..0f5dc88 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSample
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSample
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 c99d849..0f5dc88 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSample
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSample
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 c99d849..0f5dc88 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSample
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSample
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 cd405ed..5e62270 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:618 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:619 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 cd405ed..1970bb2 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:618 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleLevel
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 ef83938..96b1f7b 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleBias
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleBias
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 ef83938..96b1f7b 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleBias
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleBias
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 ef83938..96b1f7b 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleBias
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleBias
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 ef83938..96b1f7b 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleBias
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleBias
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 ef83938..96b1f7b 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleBias
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleBias
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 ef83938..96b1f7b 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleBias
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleBias
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 ef83938..96b1f7b 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleBias
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleBias
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 ef83938..96b1f7b 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleBias
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleBias
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 ef83938..96b1f7b 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleBias
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleBias
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 ef83938..96b1f7b 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleBias
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleBias
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 ef83938..96b1f7b 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleBias
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleBias
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 8a07773..29c0278 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleCompare
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleCompare
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 8a07773..29c0278 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleCompare
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleCompare
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 8a07773..29c0278 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleCompare
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleCompare
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 8a07773..29c0278 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleCompare
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleCompare
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 8a07773..29c0278 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleCompare
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleCompare
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 8a07773..29c0278 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleCompare
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleCompare
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 8a07773..29c0278 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleCompare
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleCompare
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 8a07773..29c0278 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleCompare
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleCompare
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 8a07773..29c0278 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleCompare
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleCompare
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 fba4c01..e159074 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleCompareLevel
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleCompareLevel
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 fba4c01..e159074 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleCompareLevel
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleCompareLevel
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 fba4c01..e159074 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleCompareLevel
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleCompareLevel
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 fba4c01..e159074 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleCompareLevel
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleCompareLevel
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 fba4c01..e159074 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleCompareLevel
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleCompareLevel
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 fba4c01..e159074 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleCompareLevel
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleCompareLevel
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 fba4c01..e159074 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleCompareLevel
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleCompareLevel
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 fba4c01..e159074 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleCompareLevel
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleCompareLevel
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 fba4c01..e159074 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleCompareLevel
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleCompareLevel
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 eaba717..e45a0cd 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleGrad
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleGrad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 eaba717..e45a0cd 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleGrad
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleGrad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 eaba717..e45a0cd 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleGrad
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleGrad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 eaba717..e45a0cd 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleGrad
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleGrad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 eaba717..e45a0cd 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleGrad
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleGrad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 eaba717..e45a0cd 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleGrad
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleGrad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 eaba717..e45a0cd 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleGrad
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleGrad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 eaba717..e45a0cd 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleGrad
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleGrad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 eaba717..e45a0cd 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleGrad
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleGrad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 eaba717..e45a0cd 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleGrad
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleGrad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 eaba717..e45a0cd 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleGrad
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleGrad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 34d581a..1970bb2 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleLevel
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleLevel
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 34d581a..1970bb2 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleLevel
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleLevel
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 34d581a..1970bb2 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleLevel
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleLevel
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 34d581a..1970bb2 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleLevel
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleLevel
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 34d581a..1970bb2 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleLevel
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleLevel
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 34d581a..1970bb2 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleLevel
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleLevel
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 34d581a..1970bb2 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleLevel
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleLevel
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 34d581a..1970bb2 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleLevel
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleLevel
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 34d581a..1970bb2 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleLevel
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleLevel
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 34d581a..1970bb2 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleLevel
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleLevel
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 34d581a..1970bb2 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleLevel
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleLevel
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 34d581a..1970bb2 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleLevel
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleLevel
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 34d581a..1970bb2 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleLevel
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleLevel
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 34d581a..1970bb2 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleLevel
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleLevel
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 34d581a..1970bb2 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleLevel
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleLevel
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 34d581a..1970bb2 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleLevel
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleLevel
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 34d581a..1970bb2 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleLevel
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleLevel
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 34d581a..1970bb2 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleLevel
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleLevel
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 34d581a..1970bb2 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleLevel
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleLevel
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 34d581a..1970bb2 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleLevel
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleLevel
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 34d581a..1970bb2 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleLevel
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleLevel
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 34d581a..1970bb2 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleLevel
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleLevel
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 34d581a..1970bb2 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleLevel
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleLevel
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 34d581a..1970bb2 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleLevel
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleLevel
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 34d581a..1970bb2 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleLevel
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleLevel
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 34d581a..1970bb2 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleLevel
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleLevel
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 34d581a..1970bb2 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleLevel
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleLevel
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 34d581a..1970bb2 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleLevel
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleLevel
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 34d581a..1970bb2 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleLevel
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleLevel
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 475cf0d..984239a 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,11 +1,39 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, rgba32i) uniform highp writeonly iimage2DArray arg_0;
+void textureStore_0148bd() {
+  imageStore(arg_0, uvec3(uvec2(1u), uint(1)), ivec4(1));
+}
+void main() {
+  textureStore_0148bd();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:7: 'imageStore' : no matching overloaded function found 
+ERROR: 0:7: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, rgba32i) uniform highp writeonly iimage2DArray arg_0;
+void textureStore_0148bd() {
+  imageStore(arg_0, uvec3(uvec2(1u), uint(1)), ivec4(1));
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  textureStore_0148bd();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:5: 'imageStore' : no matching overloaded function found 
+ERROR: 0:5: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 475cf0d..ab6d48c 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,11 +1,39 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, rgba16i) uniform highp writeonly iimage3D arg_0;
+void textureStore_07548b() {
+  imageStore(arg_0, uvec3(1u), ivec4(1));
+}
+void main() {
+  textureStore_07548b();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:7: 'imageStore' : no matching overloaded function found 
+ERROR: 0:7: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, rgba16i) uniform highp writeonly iimage3D arg_0;
+void textureStore_07548b() {
+  imageStore(arg_0, uvec3(1u), ivec4(1));
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  textureStore_07548b();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:5: 'imageStore' : no matching overloaded function found 
+ERROR: 0:5: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 023772f..6338d00 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:994 internal compiler error: bgra8unorm should have been polyfilled to rgba8unorm
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 475cf0d..28e0c87 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,11 +1,39 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, rgba8ui) uniform highp writeonly uimage2DArray arg_0;
+void textureStore_0a1a79() {
+  imageStore(arg_0, uvec3(uvec2(1u), uint(1)), uvec4(1u));
+}
+void main() {
+  textureStore_0a1a79();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:7: 'imageStore' : no matching overloaded function found 
+ERROR: 0:7: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, rgba8ui) uniform highp writeonly uimage2DArray arg_0;
+void textureStore_0a1a79() {
+  imageStore(arg_0, uvec3(uvec2(1u), uint(1)), uvec4(1u));
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  textureStore_0a1a79();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:5: 'imageStore' : no matching overloaded function found 
+ERROR: 0:5: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 f4b4716..8caffa9 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,11 +1,39 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 460
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, rg32ui) uniform highp uimage2DArray arg_0;
+void textureStore_0ade9a() {
+  imageStore(arg_0, uvec3(uvec2(1u), uint(1u)), uvec4(1u));
+}
+void main() {
+  textureStore_0ade9a();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:7: 'imageStore' : no matching overloaded function found 
+ERROR: 0:7: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 460
+
+layout(binding = 0, rg32ui) uniform highp uimage2DArray arg_0;
+void textureStore_0ade9a() {
+  imageStore(arg_0, uvec3(uvec2(1u), uint(1u)), uvec4(1u));
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  textureStore_0ade9a();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:5: 'imageStore' : no matching overloaded function found 
+ERROR: 0:5: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 475cf0d..c6c938a 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,11 +1,39 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, rgba16i) uniform highp writeonly iimage2DArray arg_0;
+void textureStore_0cc825() {
+  imageStore(arg_0, uvec3(uvec2(1u), uint(1)), ivec4(1));
+}
+void main() {
+  textureStore_0cc825();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:7: 'imageStore' : no matching overloaded function found 
+ERROR: 0:7: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, rgba16i) uniform highp writeonly iimage2DArray arg_0;
+void textureStore_0cc825() {
+  imageStore(arg_0, uvec3(uvec2(1u), uint(1)), ivec4(1));
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  textureStore_0cc825();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:5: 'imageStore' : no matching overloaded function found 
+ERROR: 0:5: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 475cf0d..249273b 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,11 +1,39 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, r32f) uniform highp image2DArray arg_0;
+void textureStore_0ff97a() {
+  imageStore(arg_0, uvec3(uvec2(1u), uint(1u)), vec4(1.0f));
+}
+void main() {
+  textureStore_0ff97a();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:7: 'imageStore' : no matching overloaded function found 
+ERROR: 0:7: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, r32f) uniform highp image2DArray arg_0;
+void textureStore_0ff97a() {
+  imageStore(arg_0, uvec3(uvec2(1u), uint(1u)), vec4(1.0f));
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  textureStore_0ff97a();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:5: 'imageStore' : no matching overloaded function found 
+ERROR: 0:5: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 475cf0d..83e8393 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,11 +1,41 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, r32ui) uniform highp writeonly uimage1D arg_0;
+void textureStore_102722() {
+  imageStore(arg_0, 1, uvec4(1u));
+}
+void main() {
+  textureStore_102722();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:5: 'uimage1D' : Reserved word. 
+WARNING: 0:5: 'layout' : useless application of layout qualifier 
+ERROR: 0:5: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, r32ui) uniform highp writeonly uimage1D arg_0;
+void textureStore_102722() {
+  imageStore(arg_0, 1, uvec4(1u));
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  textureStore_102722();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:3: 'uimage1D' : Reserved word. 
+WARNING: 0:3: 'layout' : useless application of layout qualifier 
+ERROR: 0:3: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 475cf0d..e1d5c23 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,11 +1,39 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, r32ui) uniform highp writeonly uimage2DArray arg_0;
+void textureStore_158cf0() {
+  imageStore(arg_0, uvec3(uvec2(1u), uint(1u)), uvec4(1u));
+}
+void main() {
+  textureStore_158cf0();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:7: 'imageStore' : no matching overloaded function found 
+ERROR: 0:7: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, r32ui) uniform highp writeonly uimage2DArray arg_0;
+void textureStore_158cf0() {
+  imageStore(arg_0, uvec3(uvec2(1u), uint(1u)), uvec4(1u));
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  textureStore_158cf0();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:5: 'imageStore' : no matching overloaded function found 
+ERROR: 0:5: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 023772f..6338d00 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:994 internal compiler error: bgra8unorm should have been polyfilled to rgba8unorm
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 475cf0d..df94c14 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,11 +1,39 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, rgba8i) uniform highp writeonly iimage2D arg_0;
+void textureStore_1839f2() {
+  imageStore(arg_0, uvec2(1u), ivec4(1));
+}
+void main() {
+  textureStore_1839f2();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:7: 'imageStore' : no matching overloaded function found 
+ERROR: 0:7: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, rgba8i) uniform highp writeonly iimage2D arg_0;
+void textureStore_1839f2() {
+  imageStore(arg_0, uvec2(1u), ivec4(1));
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  textureStore_1839f2();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:5: 'imageStore' : no matching overloaded function found 
+ERROR: 0:5: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 f4b4716..5aa07cc 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,11 +1,39 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 460
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, rg32i) uniform highp iimage2DArray arg_0;
+void textureStore_1a6c0b() {
+  imageStore(arg_0, uvec3(uvec2(1u), uint(1u)), ivec4(1));
+}
+void main() {
+  textureStore_1a6c0b();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:7: 'imageStore' : no matching overloaded function found 
+ERROR: 0:7: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 460
+
+layout(binding = 0, rg32i) uniform highp iimage2DArray arg_0;
+void textureStore_1a6c0b() {
+  imageStore(arg_0, uvec3(uvec2(1u), uint(1u)), ivec4(1));
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  textureStore_1a6c0b();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:5: 'imageStore' : no matching overloaded function found 
+ERROR: 0:5: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 475cf0d..526d7a1 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,11 +1,39 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, r32i) uniform highp writeonly iimage2DArray arg_0;
+void textureStore_1a7d35() {
+  imageStore(arg_0, uvec3(uvec2(1u), uint(1u)), ivec4(1));
+}
+void main() {
+  textureStore_1a7d35();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:7: 'imageStore' : no matching overloaded function found 
+ERROR: 0:7: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, r32i) uniform highp writeonly iimage2DArray arg_0;
+void textureStore_1a7d35() {
+  imageStore(arg_0, uvec3(uvec2(1u), uint(1u)), ivec4(1));
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  textureStore_1a7d35();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:5: 'imageStore' : no matching overloaded function found 
+ERROR: 0:5: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 475cf0d..cb05b44 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,11 +1,41 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, rgba32i) uniform highp writeonly iimage1D arg_0;
+void textureStore_1dc954() {
+  imageStore(arg_0, 1u, ivec4(1));
+}
+void main() {
+  textureStore_1dc954();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:5: 'iimage1D' : Reserved word. 
+WARNING: 0:5: 'layout' : useless application of layout qualifier 
+ERROR: 0:5: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, rgba32i) uniform highp writeonly iimage1D arg_0;
+void textureStore_1dc954() {
+  imageStore(arg_0, 1u, ivec4(1));
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  textureStore_1dc954();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:3: 'iimage1D' : Reserved word. 
+WARNING: 0:3: 'layout' : useless application of layout qualifier 
+ERROR: 0:3: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 475cf0d..8c12663 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,11 +1,39 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, r32f) uniform highp writeonly image2D arg_0;
+void textureStore_1e20f2() {
+  imageStore(arg_0, uvec2(1u), vec4(1.0f));
+}
+void main() {
+  textureStore_1e20f2();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:7: 'imageStore' : no matching overloaded function found 
+ERROR: 0:7: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, r32f) uniform highp writeonly image2D arg_0;
+void textureStore_1e20f2() {
+  imageStore(arg_0, uvec2(1u), vec4(1.0f));
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  textureStore_1e20f2();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:5: 'imageStore' : no matching overloaded function found 
+ERROR: 0:5: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 475cf0d..bdfc858 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,11 +1,39 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, r32i) uniform highp iimage2DArray arg_0;
+void textureStore_1e9fbd() {
+  imageStore(arg_0, uvec3(uvec2(1u), uint(1)), ivec4(1));
+}
+void main() {
+  textureStore_1e9fbd();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:7: 'imageStore' : no matching overloaded function found 
+ERROR: 0:7: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, r32i) uniform highp iimage2DArray arg_0;
+void textureStore_1e9fbd() {
+  imageStore(arg_0, uvec3(uvec2(1u), uint(1)), ivec4(1));
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  textureStore_1e9fbd();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:5: 'imageStore' : no matching overloaded function found 
+ERROR: 0:5: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 475cf0d..8e93a53 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,11 +1,39 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, rgba16ui) uniform highp writeonly uimage3D arg_0;
+void textureStore_1efc36() {
+  imageStore(arg_0, uvec3(1u), uvec4(1u));
+}
+void main() {
+  textureStore_1efc36();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:7: 'imageStore' : no matching overloaded function found 
+ERROR: 0:7: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, rgba16ui) uniform highp writeonly uimage3D arg_0;
+void textureStore_1efc36() {
+  imageStore(arg_0, uvec3(1u), uvec4(1u));
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  textureStore_1efc36();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:5: 'imageStore' : no matching overloaded function found 
+ERROR: 0:5: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 475cf0d..04b4fc0 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,11 +1,41 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, r32i) uniform highp iimage1D arg_0;
+void textureStore_1fef04() {
+  imageStore(arg_0, 1u, ivec4(1));
+}
+void main() {
+  textureStore_1fef04();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:5: 'iimage1D' : Reserved word. 
+WARNING: 0:5: 'layout' : useless application of layout qualifier 
+ERROR: 0:5: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, r32i) uniform highp iimage1D arg_0;
+void textureStore_1fef04() {
+  imageStore(arg_0, 1u, ivec4(1));
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  textureStore_1fef04();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:3: 'iimage1D' : Reserved word. 
+WARNING: 0:3: 'layout' : useless application of layout qualifier 
+ERROR: 0:3: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 475cf0d..9697f1b 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,11 +1,39 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, rgba8_snorm) uniform highp writeonly image3D arg_0;
+void textureStore_207fdd() {
+  imageStore(arg_0, uvec3(1u), vec4(1.0f));
+}
+void main() {
+  textureStore_207fdd();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:7: 'imageStore' : no matching overloaded function found 
+ERROR: 0:7: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, rgba8_snorm) uniform highp writeonly image3D arg_0;
+void textureStore_207fdd() {
+  imageStore(arg_0, uvec3(1u), vec4(1.0f));
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  textureStore_207fdd();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:5: 'imageStore' : no matching overloaded function found 
+ERROR: 0:5: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 475cf0d..e01984c 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,11 +1,39 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, r32ui) uniform highp writeonly uimage2DArray arg_0;
+void textureStore_2383fc() {
+  imageStore(arg_0, uvec3(uvec2(1u), uint(1)), uvec4(1u));
+}
+void main() {
+  textureStore_2383fc();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:7: 'imageStore' : no matching overloaded function found 
+ERROR: 0:7: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, r32ui) uniform highp writeonly uimage2DArray arg_0;
+void textureStore_2383fc() {
+  imageStore(arg_0, uvec3(uvec2(1u), uint(1)), uvec4(1u));
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  textureStore_2383fc();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:5: 'imageStore' : no matching overloaded function found 
+ERROR: 0:5: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 475cf0d..96c0540 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,11 +1,39 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, rgba8) uniform highp writeonly image2DArray arg_0;
+void textureStore_258ab0() {
+  imageStore(arg_0, uvec3(uvec2(1u), uint(1)), vec4(1.0f));
+}
+void main() {
+  textureStore_258ab0();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:7: 'imageStore' : no matching overloaded function found 
+ERROR: 0:7: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, rgba8) uniform highp writeonly image2DArray arg_0;
+void textureStore_258ab0() {
+  imageStore(arg_0, uvec3(uvec2(1u), uint(1)), vec4(1.0f));
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  textureStore_258ab0();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:5: 'imageStore' : no matching overloaded function found 
+ERROR: 0:5: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 3910173..5f6efb7 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,11 +1,39 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:994 internal compiler error: bgra8unorm should have been polyfilled to rgba8unorm
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, rgba8) uniform highp writeonly image2DArray arg_0;
+void textureStore_27063a() {
+  imageStore(arg_0, uvec3(uvec2(1u), uint(1)), vec4(1.0f).zyxw);
+}
+void main() {
+  textureStore_27063a();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:7: 'imageStore' : no matching overloaded function found 
+ERROR: 0:7: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, rgba8) uniform highp writeonly image2DArray arg_0;
+void textureStore_27063a() {
+  imageStore(arg_0, uvec3(uvec2(1u), uint(1)), vec4(1.0f).zyxw);
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  textureStore_27063a();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:5: 'imageStore' : no matching overloaded function found 
+ERROR: 0:5: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 475cf0d..ebd0685 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,11 +1,41 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, rgba32f) uniform highp writeonly image1D arg_0;
+void textureStore_285218() {
+  imageStore(arg_0, 1u, vec4(1.0f));
+}
+void main() {
+  textureStore_285218();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:5: 'image1D' : Reserved word. 
+WARNING: 0:5: 'layout' : useless application of layout qualifier 
+ERROR: 0:5: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, rgba32f) uniform highp writeonly image1D arg_0;
+void textureStore_285218() {
+  imageStore(arg_0, 1u, vec4(1.0f));
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  textureStore_285218();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:3: 'image1D' : Reserved word. 
+WARNING: 0:3: 'layout' : useless application of layout qualifier 
+ERROR: 0:3: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 475cf0d..08f91a0 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,11 +1,39 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, r32i) uniform highp writeonly iimage2DArray arg_0;
+void textureStore_28a7ec() {
+  imageStore(arg_0, uvec3(uvec2(1u), uint(1)), ivec4(1));
+}
+void main() {
+  textureStore_28a7ec();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:7: 'imageStore' : no matching overloaded function found 
+ERROR: 0:7: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, r32i) uniform highp writeonly iimage2DArray arg_0;
+void textureStore_28a7ec() {
+  imageStore(arg_0, uvec3(uvec2(1u), uint(1)), ivec4(1));
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  textureStore_28a7ec();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:5: 'imageStore' : no matching overloaded function found 
+ERROR: 0:5: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 475cf0d..0594247 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,11 +1,41 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, r32f) uniform highp writeonly image1D arg_0;
+void textureStore_2ac6c7() {
+  imageStore(arg_0, 1, vec4(1.0f));
+}
+void main() {
+  textureStore_2ac6c7();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:5: 'image1D' : Reserved word. 
+WARNING: 0:5: 'layout' : useless application of layout qualifier 
+ERROR: 0:5: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, r32f) uniform highp writeonly image1D arg_0;
+void textureStore_2ac6c7() {
+  imageStore(arg_0, 1, vec4(1.0f));
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  textureStore_2ac6c7();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:3: 'image1D' : Reserved word. 
+WARNING: 0:3: 'layout' : useless application of layout qualifier 
+ERROR: 0:3: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 475cf0d..4012f18 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,11 +1,39 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 460
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, rg32f) uniform highp writeonly image2DArray arg_0;
+void textureStore_2d2835() {
+  imageStore(arg_0, uvec3(uvec2(1u), uint(1u)), vec4(1.0f));
+}
+void main() {
+  textureStore_2d2835();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:7: 'imageStore' : no matching overloaded function found 
+ERROR: 0:7: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 460
+
+layout(binding = 0, rg32f) uniform highp writeonly image2DArray arg_0;
+void textureStore_2d2835() {
+  imageStore(arg_0, uvec3(uvec2(1u), uint(1u)), vec4(1.0f));
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  textureStore_2d2835();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:5: 'imageStore' : no matching overloaded function found 
+ERROR: 0:5: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 f4b4716..0bbb5c6 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,11 +1,39 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 460
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, r8) uniform highp image2D arg_0;
+void textureStore_2e512f() {
+  imageStore(arg_0, uvec2(1u), vec4(1.0f));
+}
+void main() {
+  textureStore_2e512f();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:7: 'imageStore' : no matching overloaded function found 
+ERROR: 0:7: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 460
+
+layout(binding = 0, r8) uniform highp image2D arg_0;
+void textureStore_2e512f() {
+  imageStore(arg_0, uvec2(1u), vec4(1.0f));
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  textureStore_2e512f();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:5: 'imageStore' : no matching overloaded function found 
+ERROR: 0:5: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 475cf0d..3b80723 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,11 +1,39 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, rgba32f) uniform highp writeonly image2D arg_0;
+void textureStore_2e6102() {
+  imageStore(arg_0, uvec2(1u), vec4(1.0f));
+}
+void main() {
+  textureStore_2e6102();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:7: 'imageStore' : no matching overloaded function found 
+ERROR: 0:7: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, rgba32f) uniform highp writeonly image2D arg_0;
+void textureStore_2e6102() {
+  imageStore(arg_0, uvec2(1u), vec4(1.0f));
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  textureStore_2e6102();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:5: 'imageStore' : no matching overloaded function found 
+ERROR: 0:5: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 475cf0d..43103bd 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,11 +1,41 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, rgba16ui) uniform highp writeonly uimage1D arg_0;
+void textureStore_2eb2a4() {
+  imageStore(arg_0, 1, uvec4(1u));
+}
+void main() {
+  textureStore_2eb2a4();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:5: 'uimage1D' : Reserved word. 
+WARNING: 0:5: 'layout' : useless application of layout qualifier 
+ERROR: 0:5: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, rgba16ui) uniform highp writeonly uimage1D arg_0;
+void textureStore_2eb2a4() {
+  imageStore(arg_0, 1, uvec4(1u));
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  textureStore_2eb2a4();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:3: 'uimage1D' : Reserved word. 
+WARNING: 0:3: 'layout' : useless application of layout qualifier 
+ERROR: 0:3: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 475cf0d..f09c5f2 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,11 +1,41 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, rgba8_snorm) uniform highp writeonly image1D arg_0;
+void textureStore_2ed2a3() {
+  imageStore(arg_0, 1, vec4(1.0f));
+}
+void main() {
+  textureStore_2ed2a3();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:5: 'image1D' : Reserved word. 
+WARNING: 0:5: 'layout' : useless application of layout qualifier 
+ERROR: 0:5: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, rgba8_snorm) uniform highp writeonly image1D arg_0;
+void textureStore_2ed2a3() {
+  imageStore(arg_0, 1, vec4(1.0f));
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  textureStore_2ed2a3();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:3: 'image1D' : Reserved word. 
+WARNING: 0:3: 'layout' : useless application of layout qualifier 
+ERROR: 0:3: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 475cf0d..ad1a4c0 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,11 +1,41 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, r32ui) uniform highp uimage1D arg_0;
+void textureStore_32d3d6() {
+  imageStore(arg_0, 1u, uvec4(1u));
+}
+void main() {
+  textureStore_32d3d6();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:5: 'uimage1D' : Reserved word. 
+WARNING: 0:5: 'layout' : useless application of layout qualifier 
+ERROR: 0:5: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, r32ui) uniform highp uimage1D arg_0;
+void textureStore_32d3d6() {
+  imageStore(arg_0, 1u, uvec4(1u));
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  textureStore_32d3d6();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:3: 'uimage1D' : Reserved word. 
+WARNING: 0:3: 'layout' : useless application of layout qualifier 
+ERROR: 0:3: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 475cf0d..1615489 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,11 +1,39 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, rgba8) uniform highp writeonly image2DArray arg_0;
+void textureStore_330b7c() {
+  imageStore(arg_0, uvec3(uvec2(1u), uint(1u)), vec4(1.0f));
+}
+void main() {
+  textureStore_330b7c();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:7: 'imageStore' : no matching overloaded function found 
+ERROR: 0:7: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, rgba8) uniform highp writeonly image2DArray arg_0;
+void textureStore_330b7c() {
+  imageStore(arg_0, uvec3(uvec2(1u), uint(1u)), vec4(1.0f));
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  textureStore_330b7c();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:5: 'imageStore' : no matching overloaded function found 
+ERROR: 0:5: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 475cf0d..8640418 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,11 +1,39 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, rgba16ui) uniform highp writeonly uimage2DArray arg_0;
+void textureStore_33cec0() {
+  imageStore(arg_0, uvec3(uvec2(1u), uint(1)), uvec4(1u));
+}
+void main() {
+  textureStore_33cec0();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:7: 'imageStore' : no matching overloaded function found 
+ERROR: 0:7: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, rgba16ui) uniform highp writeonly uimage2DArray arg_0;
+void textureStore_33cec0() {
+  imageStore(arg_0, uvec3(uvec2(1u), uint(1)), uvec4(1u));
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  textureStore_33cec0();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:5: 'imageStore' : no matching overloaded function found 
+ERROR: 0:5: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 475cf0d..1266476 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,11 +1,39 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, rgba32f) uniform highp writeonly image2DArray arg_0;
+void textureStore_37ffd4() {
+  imageStore(arg_0, uvec3(uvec2(1u), uint(1)), vec4(1.0f));
+}
+void main() {
+  textureStore_37ffd4();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:7: 'imageStore' : no matching overloaded function found 
+ERROR: 0:7: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, rgba32f) uniform highp writeonly image2DArray arg_0;
+void textureStore_37ffd4() {
+  imageStore(arg_0, uvec3(uvec2(1u), uint(1)), vec4(1.0f));
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  textureStore_37ffd4();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:5: 'imageStore' : no matching overloaded function found 
+ERROR: 0:5: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 475cf0d..39c585d 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,11 +1,41 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, rgba8ui) uniform highp writeonly uimage1D arg_0;
+void textureStore_3bec15() {
+  imageStore(arg_0, 1, uvec4(1u));
+}
+void main() {
+  textureStore_3bec15();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:5: 'uimage1D' : Reserved word. 
+WARNING: 0:5: 'layout' : useless application of layout qualifier 
+ERROR: 0:5: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, rgba8ui) uniform highp writeonly uimage1D arg_0;
+void textureStore_3bec15() {
+  imageStore(arg_0, 1, uvec4(1u));
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  textureStore_3bec15();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:3: 'uimage1D' : Reserved word. 
+WARNING: 0:3: 'layout' : useless application of layout qualifier 
+ERROR: 0:3: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 475cf0d..dfe0076 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,11 +1,41 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, rgba8ui) uniform highp writeonly uimage1D arg_0;
+void textureStore_3c1937() {
+  imageStore(arg_0, 1u, uvec4(1u));
+}
+void main() {
+  textureStore_3c1937();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:5: 'uimage1D' : Reserved word. 
+WARNING: 0:5: 'layout' : useless application of layout qualifier 
+ERROR: 0:5: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, rgba8ui) uniform highp writeonly uimage1D arg_0;
+void textureStore_3c1937() {
+  imageStore(arg_0, 1u, uvec4(1u));
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  textureStore_3c1937();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:3: 'uimage1D' : Reserved word. 
+WARNING: 0:3: 'layout' : useless application of layout qualifier 
+ERROR: 0:3: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 475cf0d..37dbaa2 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,11 +1,39 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, r32f) uniform highp image2D arg_0;
+void textureStore_3d1ebe() {
+  imageStore(arg_0, uvec2(1u), vec4(1.0f));
+}
+void main() {
+  textureStore_3d1ebe();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:7: 'imageStore' : no matching overloaded function found 
+ERROR: 0:7: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, r32f) uniform highp image2D arg_0;
+void textureStore_3d1ebe() {
+  imageStore(arg_0, uvec2(1u), vec4(1.0f));
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  textureStore_3d1ebe();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:5: 'imageStore' : no matching overloaded function found 
+ERROR: 0:5: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 475cf0d..122f1e4 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,11 +1,39 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 460
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, rg32i) uniform highp writeonly iimage1D arg_0;
+void textureStore_3d6f01() {
+  imageStore(arg_0, 1u, ivec4(1));
+}
+void main() {
+  textureStore_3d6f01();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:7: 'imageStore' : no matching overloaded function found 
+ERROR: 0:7: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 460
+
+layout(binding = 0, rg32i) uniform highp writeonly iimage1D arg_0;
+void textureStore_3d6f01() {
+  imageStore(arg_0, 1u, ivec4(1));
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  textureStore_3d6f01();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:5: 'imageStore' : no matching overloaded function found 
+ERROR: 0:5: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 475cf0d..c0b3e62 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,11 +1,39 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 460
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, rg32ui) uniform highp writeonly uimage3D arg_0;
+void textureStore_3fb31f() {
+  imageStore(arg_0, uvec3(1u), uvec4(1u));
+}
+void main() {
+  textureStore_3fb31f();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:7: 'imageStore' : no matching overloaded function found 
+ERROR: 0:7: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 460
+
+layout(binding = 0, rg32ui) uniform highp writeonly uimage3D arg_0;
+void textureStore_3fb31f() {
+  imageStore(arg_0, uvec3(1u), uvec4(1u));
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  textureStore_3fb31f();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:5: 'imageStore' : no matching overloaded function found 
+ERROR: 0:5: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 475cf0d..d63708c 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,11 +1,39 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, rgba8_snorm) uniform highp writeonly image2D arg_0;
+void textureStore_40c455() {
+  imageStore(arg_0, uvec2(1u), vec4(1.0f));
+}
+void main() {
+  textureStore_40c455();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:7: 'imageStore' : no matching overloaded function found 
+ERROR: 0:7: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, rgba8_snorm) uniform highp writeonly image2D arg_0;
+void textureStore_40c455() {
+  imageStore(arg_0, uvec2(1u), vec4(1.0f));
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  textureStore_40c455();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:5: 'imageStore' : no matching overloaded function found 
+ERROR: 0:5: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 475cf0d..db9f6b5 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,11 +1,39 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, r32f) uniform highp writeonly image3D arg_0;
+void textureStore_4288fc() {
+  imageStore(arg_0, uvec3(1u), vec4(1.0f));
+}
+void main() {
+  textureStore_4288fc();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:7: 'imageStore' : no matching overloaded function found 
+ERROR: 0:7: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, r32f) uniform highp writeonly image3D arg_0;
+void textureStore_4288fc() {
+  imageStore(arg_0, uvec3(1u), vec4(1.0f));
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  textureStore_4288fc();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:5: 'imageStore' : no matching overloaded function found 
+ERROR: 0:5: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 f4b4716..2892c35 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,11 +1,39 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 460
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, rg32ui) uniform highp uimage3D arg_0;
+void textureStore_473ead() {
+  imageStore(arg_0, uvec3(1u), uvec4(1u));
+}
+void main() {
+  textureStore_473ead();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:7: 'imageStore' : no matching overloaded function found 
+ERROR: 0:7: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 460
+
+layout(binding = 0, rg32ui) uniform highp uimage3D arg_0;
+void textureStore_473ead() {
+  imageStore(arg_0, uvec3(1u), uvec4(1u));
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  textureStore_473ead();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:5: 'imageStore' : no matching overloaded function found 
+ERROR: 0:5: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 475cf0d..e7a444a 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,11 +1,39 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, rgba32i) uniform highp writeonly iimage3D arg_0;
+void textureStore_486500() {
+  imageStore(arg_0, uvec3(1u), ivec4(1));
+}
+void main() {
+  textureStore_486500();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:7: 'imageStore' : no matching overloaded function found 
+ERROR: 0:7: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, rgba32i) uniform highp writeonly iimage3D arg_0;
+void textureStore_486500() {
+  imageStore(arg_0, uvec3(1u), ivec4(1));
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  textureStore_486500();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:5: 'imageStore' : no matching overloaded function found 
+ERROR: 0:5: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 475cf0d..db79f3b 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,11 +1,39 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, r32ui) uniform highp uimage2D arg_0;
+void textureStore_4bf1fd() {
+  imageStore(arg_0, uvec2(1u), uvec4(1u));
+}
+void main() {
+  textureStore_4bf1fd();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:7: 'imageStore' : no matching overloaded function found 
+ERROR: 0:7: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, r32ui) uniform highp uimage2D arg_0;
+void textureStore_4bf1fd() {
+  imageStore(arg_0, uvec2(1u), uvec4(1u));
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  textureStore_4bf1fd();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:5: 'imageStore' : no matching overloaded function found 
+ERROR: 0:5: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 475cf0d..2225395 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,11 +1,39 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 460
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, rg32i) uniform highp writeonly iimage2DArray arg_0;
+void textureStore_4c454f() {
+  imageStore(arg_0, uvec3(uvec2(1u), uint(1u)), ivec4(1));
+}
+void main() {
+  textureStore_4c454f();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:7: 'imageStore' : no matching overloaded function found 
+ERROR: 0:7: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 460
+
+layout(binding = 0, rg32i) uniform highp writeonly iimage2DArray arg_0;
+void textureStore_4c454f() {
+  imageStore(arg_0, uvec3(uvec2(1u), uint(1u)), ivec4(1));
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  textureStore_4c454f();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:5: 'imageStore' : no matching overloaded function found 
+ERROR: 0:5: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 023772f..6338d00 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:994 internal compiler error: bgra8unorm should have been polyfilled to rgba8unorm
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 475cf0d..167550e 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,11 +1,39 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 460
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, rg32ui) uniform highp writeonly uimage2DArray arg_0;
+void textureStore_4d359d() {
+  imageStore(arg_0, uvec3(uvec2(1u), uint(1)), uvec4(1u));
+}
+void main() {
+  textureStore_4d359d();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:7: 'imageStore' : no matching overloaded function found 
+ERROR: 0:7: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 460
+
+layout(binding = 0, rg32ui) uniform highp writeonly uimage2DArray arg_0;
+void textureStore_4d359d() {
+  imageStore(arg_0, uvec3(uvec2(1u), uint(1)), uvec4(1u));
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  textureStore_4d359d();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:5: 'imageStore' : no matching overloaded function found 
+ERROR: 0:5: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 023772f..6338d00 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:994 internal compiler error: bgra8unorm should have been polyfilled to rgba8unorm
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 475cf0d..f194a6a 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,11 +1,39 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 460
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, rg32ui) uniform highp writeonly uimage2D arg_0;
+void textureStore_506a71() {
+  imageStore(arg_0, uvec2(1u), uvec4(1u));
+}
+void main() {
+  textureStore_506a71();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:7: 'imageStore' : no matching overloaded function found 
+ERROR: 0:7: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 460
+
+layout(binding = 0, rg32ui) uniform highp writeonly uimage2D arg_0;
+void textureStore_506a71() {
+  imageStore(arg_0, uvec2(1u), uvec4(1u));
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  textureStore_506a71();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:5: 'imageStore' : no matching overloaded function found 
+ERROR: 0:5: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 475cf0d..3064272 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,11 +1,39 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, r32ui) uniform highp uimage3D arg_0;
+void textureStore_5246b4() {
+  imageStore(arg_0, uvec3(1u), uvec4(1u));
+}
+void main() {
+  textureStore_5246b4();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:7: 'imageStore' : no matching overloaded function found 
+ERROR: 0:7: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, r32ui) uniform highp uimage3D arg_0;
+void textureStore_5246b4() {
+  imageStore(arg_0, uvec3(1u), uvec4(1u));
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  textureStore_5246b4();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:5: 'imageStore' : no matching overloaded function found 
+ERROR: 0:5: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 475cf0d..f3f8024 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,11 +1,39 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, rgba32i) uniform highp writeonly iimage2D arg_0;
+void textureStore_52f503() {
+  imageStore(arg_0, uvec2(1u), ivec4(1));
+}
+void main() {
+  textureStore_52f503();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:7: 'imageStore' : no matching overloaded function found 
+ERROR: 0:7: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, rgba32i) uniform highp writeonly iimage2D arg_0;
+void textureStore_52f503() {
+  imageStore(arg_0, uvec2(1u), ivec4(1));
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  textureStore_52f503();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:5: 'imageStore' : no matching overloaded function found 
+ERROR: 0:5: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 023772f..6338d00 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:994 internal compiler error: bgra8unorm should have been polyfilled to rgba8unorm
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 f4b4716..ec76868 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,11 +1,39 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 460
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, rg32i) uniform highp iimage1D arg_0;
+void textureStore_574a31() {
+  imageStore(arg_0, 1u, ivec4(1));
+}
+void main() {
+  textureStore_574a31();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:7: 'imageStore' : no matching overloaded function found 
+ERROR: 0:7: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 460
+
+layout(binding = 0, rg32i) uniform highp iimage1D arg_0;
+void textureStore_574a31() {
+  imageStore(arg_0, 1u, ivec4(1));
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  textureStore_574a31();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:5: 'imageStore' : no matching overloaded function found 
+ERROR: 0:5: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 475cf0d..3a8b151 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,11 +1,39 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, rgba32f) uniform highp writeonly image2DArray arg_0;
+void textureStore_5841f8() {
+  imageStore(arg_0, uvec3(uvec2(1u), uint(1u)), vec4(1.0f));
+}
+void main() {
+  textureStore_5841f8();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:7: 'imageStore' : no matching overloaded function found 
+ERROR: 0:7: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, rgba32f) uniform highp writeonly image2DArray arg_0;
+void textureStore_5841f8() {
+  imageStore(arg_0, uvec3(uvec2(1u), uint(1u)), vec4(1.0f));
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  textureStore_5841f8();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:5: 'imageStore' : no matching overloaded function found 
+ERROR: 0:5: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 475cf0d..247f289 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,11 +1,39 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, rgba8_snorm) uniform highp writeonly image2DArray arg_0;
+void textureStore_59a0ab() {
+  imageStore(arg_0, uvec3(uvec2(1u), uint(1)), vec4(1.0f));
+}
+void main() {
+  textureStore_59a0ab();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:7: 'imageStore' : no matching overloaded function found 
+ERROR: 0:7: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, rgba8_snorm) uniform highp writeonly image2DArray arg_0;
+void textureStore_59a0ab() {
+  imageStore(arg_0, uvec3(uvec2(1u), uint(1)), vec4(1.0f));
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  textureStore_59a0ab();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:5: 'imageStore' : no matching overloaded function found 
+ERROR: 0:5: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 475cf0d..da2ff3e 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,11 +1,41 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, rgba16i) uniform highp writeonly iimage1D arg_0;
+void textureStore_5a2f8f() {
+  imageStore(arg_0, 1, ivec4(1));
+}
+void main() {
+  textureStore_5a2f8f();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:5: 'iimage1D' : Reserved word. 
+WARNING: 0:5: 'layout' : useless application of layout qualifier 
+ERROR: 0:5: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, rgba16i) uniform highp writeonly iimage1D arg_0;
+void textureStore_5a2f8f() {
+  imageStore(arg_0, 1, ivec4(1));
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  textureStore_5a2f8f();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:3: 'iimage1D' : Reserved word. 
+WARNING: 0:3: 'layout' : useless application of layout qualifier 
+ERROR: 0:3: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 f4b4716..70de6dc 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,11 +1,39 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 460
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, rg32f) uniform highp image2D arg_0;
+void textureStore_5b17eb() {
+  imageStore(arg_0, uvec2(1u), vec4(1.0f));
+}
+void main() {
+  textureStore_5b17eb();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:7: 'imageStore' : no matching overloaded function found 
+ERROR: 0:7: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 460
+
+layout(binding = 0, rg32f) uniform highp image2D arg_0;
+void textureStore_5b17eb() {
+  imageStore(arg_0, uvec2(1u), vec4(1.0f));
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  textureStore_5b17eb();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:5: 'imageStore' : no matching overloaded function found 
+ERROR: 0:5: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 475cf0d..0bcf2a4 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,11 +1,39 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 460
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, rg32ui) uniform highp writeonly uimage2DArray arg_0;
+void textureStore_5bc4f3() {
+  imageStore(arg_0, uvec3(uvec2(1u), uint(1u)), uvec4(1u));
+}
+void main() {
+  textureStore_5bc4f3();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:7: 'imageStore' : no matching overloaded function found 
+ERROR: 0:7: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 460
+
+layout(binding = 0, rg32ui) uniform highp writeonly uimage2DArray arg_0;
+void textureStore_5bc4f3() {
+  imageStore(arg_0, uvec3(uvec2(1u), uint(1u)), uvec4(1u));
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  textureStore_5bc4f3();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:5: 'imageStore' : no matching overloaded function found 
+ERROR: 0:5: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 475cf0d..77d5b5b 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,11 +1,39 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, r32f) uniform highp image3D arg_0;
+void textureStore_5ec6b2() {
+  imageStore(arg_0, uvec3(1u), vec4(1.0f));
+}
+void main() {
+  textureStore_5ec6b2();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:7: 'imageStore' : no matching overloaded function found 
+ERROR: 0:7: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, r32f) uniform highp image3D arg_0;
+void textureStore_5ec6b2() {
+  imageStore(arg_0, uvec3(1u), vec4(1.0f));
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  textureStore_5ec6b2();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:5: 'imageStore' : no matching overloaded function found 
+ERROR: 0:5: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 f4b4716..d60190e 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,11 +1,39 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 460
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, rg32f) uniform highp image2DArray arg_0;
+void textureStore_5ee194() {
+  imageStore(arg_0, uvec3(uvec2(1u), uint(1u)), vec4(1.0f));
+}
+void main() {
+  textureStore_5ee194();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:7: 'imageStore' : no matching overloaded function found 
+ERROR: 0:7: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 460
+
+layout(binding = 0, rg32f) uniform highp image2DArray arg_0;
+void textureStore_5ee194() {
+  imageStore(arg_0, uvec3(uvec2(1u), uint(1u)), vec4(1.0f));
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  textureStore_5ee194();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:5: 'imageStore' : no matching overloaded function found 
+ERROR: 0:5: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 475cf0d..02dd2a5 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,11 +1,39 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, rgba8_snorm) uniform highp writeonly image2DArray arg_0;
+void textureStore_5f9a49() {
+  imageStore(arg_0, uvec3(uvec2(1u), uint(1u)), vec4(1.0f));
+}
+void main() {
+  textureStore_5f9a49();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:7: 'imageStore' : no matching overloaded function found 
+ERROR: 0:7: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, rgba8_snorm) uniform highp writeonly image2DArray arg_0;
+void textureStore_5f9a49() {
+  imageStore(arg_0, uvec3(uvec2(1u), uint(1u)), vec4(1.0f));
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  textureStore_5f9a49();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:5: 'imageStore' : no matching overloaded function found 
+ERROR: 0:5: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 475cf0d..0c2adcd 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,11 +1,39 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 460
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, rg32f) uniform highp writeonly image1D arg_0;
+void textureStore_602b5a() {
+  imageStore(arg_0, 1u, vec4(1.0f));
+}
+void main() {
+  textureStore_602b5a();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:7: 'imageStore' : no matching overloaded function found 
+ERROR: 0:7: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 460
+
+layout(binding = 0, rg32f) uniform highp writeonly image1D arg_0;
+void textureStore_602b5a() {
+  imageStore(arg_0, 1u, vec4(1.0f));
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  textureStore_602b5a();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:5: 'imageStore' : no matching overloaded function found 
+ERROR: 0:5: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 f4b4716..06ddb4b 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,11 +1,39 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 460
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, rg32f) uniform highp image1D arg_0;
+void textureStore_635584() {
+  imageStore(arg_0, 1u, vec4(1.0f));
+}
+void main() {
+  textureStore_635584();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:7: 'imageStore' : no matching overloaded function found 
+ERROR: 0:7: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 460
+
+layout(binding = 0, rg32f) uniform highp image1D arg_0;
+void textureStore_635584() {
+  imageStore(arg_0, 1u, vec4(1.0f));
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  textureStore_635584();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:5: 'imageStore' : no matching overloaded function found 
+ERROR: 0:5: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 f4b4716..3a30286 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,11 +1,39 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 460
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, rg32i) uniform highp iimage2D arg_0;
+void textureStore_63f34a() {
+  imageStore(arg_0, uvec2(1u), ivec4(1));
+}
+void main() {
+  textureStore_63f34a();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:7: 'imageStore' : no matching overloaded function found 
+ERROR: 0:7: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 460
+
+layout(binding = 0, rg32i) uniform highp iimage2D arg_0;
+void textureStore_63f34a() {
+  imageStore(arg_0, uvec2(1u), ivec4(1));
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  textureStore_63f34a();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:5: 'imageStore' : no matching overloaded function found 
+ERROR: 0:5: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 475cf0d..27058f2 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,11 +1,39 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, r32f) uniform highp writeonly image2DArray arg_0;
+void textureStore_699a1b() {
+  imageStore(arg_0, uvec3(uvec2(1u), uint(1u)), vec4(1.0f));
+}
+void main() {
+  textureStore_699a1b();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:7: 'imageStore' : no matching overloaded function found 
+ERROR: 0:7: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, r32f) uniform highp writeonly image2DArray arg_0;
+void textureStore_699a1b() {
+  imageStore(arg_0, uvec3(uvec2(1u), uint(1u)), vec4(1.0f));
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  textureStore_699a1b();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:5: 'imageStore' : no matching overloaded function found 
+ERROR: 0:5: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 475cf0d..d2037cc 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,11 +1,41 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, rgba32f) uniform highp writeonly image1D arg_0;
+void textureStore_6b75c3() {
+  imageStore(arg_0, 1, vec4(1.0f));
+}
+void main() {
+  textureStore_6b75c3();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:5: 'image1D' : Reserved word. 
+WARNING: 0:5: 'layout' : useless application of layout qualifier 
+ERROR: 0:5: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, rgba32f) uniform highp writeonly image1D arg_0;
+void textureStore_6b75c3() {
+  imageStore(arg_0, 1, vec4(1.0f));
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  textureStore_6b75c3();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:3: 'image1D' : Reserved word. 
+WARNING: 0:3: 'layout' : useless application of layout qualifier 
+ERROR: 0:3: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 475cf0d..82e0987 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,11 +1,41 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, r32i) uniform highp writeonly iimage1D arg_0;
+void textureStore_6b80d2() {
+  imageStore(arg_0, 1, ivec4(1));
+}
+void main() {
+  textureStore_6b80d2();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:5: 'iimage1D' : Reserved word. 
+WARNING: 0:5: 'layout' : useless application of layout qualifier 
+ERROR: 0:5: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, r32i) uniform highp writeonly iimage1D arg_0;
+void textureStore_6b80d2() {
+  imageStore(arg_0, 1, ivec4(1));
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  textureStore_6b80d2();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:3: 'iimage1D' : Reserved word. 
+WARNING: 0:3: 'layout' : useless application of layout qualifier 
+ERROR: 0:3: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 475cf0d..8e2bf67 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,11 +1,39 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, r32i) uniform highp iimage2D arg_0;
+void textureStore_6c4a70() {
+  imageStore(arg_0, uvec2(1u), ivec4(1));
+}
+void main() {
+  textureStore_6c4a70();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:7: 'imageStore' : no matching overloaded function found 
+ERROR: 0:7: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, r32i) uniform highp iimage2D arg_0;
+void textureStore_6c4a70() {
+  imageStore(arg_0, uvec2(1u), ivec4(1));
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  textureStore_6c4a70();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:5: 'imageStore' : no matching overloaded function found 
+ERROR: 0:5: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 475cf0d..870e4d6 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,11 +1,41 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, r32f) uniform highp image1D arg_0;
+void textureStore_6e6cc0() {
+  imageStore(arg_0, 1, vec4(1.0f));
+}
+void main() {
+  textureStore_6e6cc0();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:5: 'image1D' : Reserved word. 
+WARNING: 0:5: 'layout' : useless application of layout qualifier 
+ERROR: 0:5: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, r32f) uniform highp image1D arg_0;
+void textureStore_6e6cc0() {
+  imageStore(arg_0, 1, vec4(1.0f));
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  textureStore_6e6cc0();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:3: 'image1D' : Reserved word. 
+WARNING: 0:3: 'layout' : useless application of layout qualifier 
+ERROR: 0:3: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 f4b4716..4af902f 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,11 +1,39 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 460
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, r8) uniform highp image2DArray arg_0;
+void textureStore_6f0c92() {
+  imageStore(arg_0, uvec3(uvec2(1u), uint(1)), vec4(1.0f));
+}
+void main() {
+  textureStore_6f0c92();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:7: 'imageStore' : no matching overloaded function found 
+ERROR: 0:7: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 460
+
+layout(binding = 0, r8) uniform highp image2DArray arg_0;
+void textureStore_6f0c92() {
+  imageStore(arg_0, uvec3(uvec2(1u), uint(1)), vec4(1.0f));
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  textureStore_6f0c92();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:5: 'imageStore' : no matching overloaded function found 
+ERROR: 0:5: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 475cf0d..6ebbcde 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,11 +1,39 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, rgba32ui) uniform highp writeonly uimage2DArray arg_0;
+void textureStore_6f8642() {
+  imageStore(arg_0, uvec3(uvec2(1u), uint(1)), uvec4(1u));
+}
+void main() {
+  textureStore_6f8642();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:7: 'imageStore' : no matching overloaded function found 
+ERROR: 0:7: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, rgba32ui) uniform highp writeonly uimage2DArray arg_0;
+void textureStore_6f8642() {
+  imageStore(arg_0, uvec3(uvec2(1u), uint(1)), uvec4(1u));
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  textureStore_6f8642();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:5: 'imageStore' : no matching overloaded function found 
+ERROR: 0:5: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 475cf0d..5e4dbcf 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,11 +1,39 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 460
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, r8) uniform highp writeonly image1D arg_0;
+void textureStore_6fd2b1() {
+  imageStore(arg_0, 1u, vec4(1.0f));
+}
+void main() {
+  textureStore_6fd2b1();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:7: 'imageStore' : no matching overloaded function found 
+ERROR: 0:7: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 460
+
+layout(binding = 0, r8) uniform highp writeonly image1D arg_0;
+void textureStore_6fd2b1() {
+  imageStore(arg_0, 1u, vec4(1.0f));
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  textureStore_6fd2b1();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:5: 'imageStore' : no matching overloaded function found 
+ERROR: 0:5: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 475cf0d..7e2fb44 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,11 +1,39 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 460
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, rg32f) uniform highp writeonly image2D arg_0;
+void textureStore_726472() {
+  imageStore(arg_0, uvec2(1u), vec4(1.0f));
+}
+void main() {
+  textureStore_726472();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:7: 'imageStore' : no matching overloaded function found 
+ERROR: 0:7: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 460
+
+layout(binding = 0, rg32f) uniform highp writeonly image2D arg_0;
+void textureStore_726472() {
+  imageStore(arg_0, uvec2(1u), vec4(1.0f));
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  textureStore_726472();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:5: 'imageStore' : no matching overloaded function found 
+ERROR: 0:5: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 475cf0d..f4334a3 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,11 +1,39 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 460
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, rg32i) uniform highp writeonly iimage2DArray arg_0;
+void textureStore_72fa64() {
+  imageStore(arg_0, uvec3(uvec2(1u), uint(1)), ivec4(1));
+}
+void main() {
+  textureStore_72fa64();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:7: 'imageStore' : no matching overloaded function found 
+ERROR: 0:7: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 460
+
+layout(binding = 0, rg32i) uniform highp writeonly iimage2DArray arg_0;
+void textureStore_72fa64() {
+  imageStore(arg_0, uvec3(uvec2(1u), uint(1)), ivec4(1));
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  textureStore_72fa64();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:5: 'imageStore' : no matching overloaded function found 
+ERROR: 0:5: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 475cf0d..1214886 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,11 +1,39 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, rgba8) uniform highp writeonly image2D arg_0;
+void textureStore_73bbbc() {
+  imageStore(arg_0, uvec2(1u), vec4(1.0f));
+}
+void main() {
+  textureStore_73bbbc();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:7: 'imageStore' : no matching overloaded function found 
+ERROR: 0:7: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, rgba8) uniform highp writeonly image2D arg_0;
+void textureStore_73bbbc() {
+  imageStore(arg_0, uvec2(1u), vec4(1.0f));
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  textureStore_73bbbc();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:5: 'imageStore' : no matching overloaded function found 
+ERROR: 0:5: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 f4b4716..c5a17e4 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,11 +1,39 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 460
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, rg32i) uniform highp iimage3D arg_0;
+void textureStore_7792fa() {
+  imageStore(arg_0, uvec3(1u), ivec4(1));
+}
+void main() {
+  textureStore_7792fa();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:7: 'imageStore' : no matching overloaded function found 
+ERROR: 0:7: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 460
+
+layout(binding = 0, rg32i) uniform highp iimage3D arg_0;
+void textureStore_7792fa() {
+  imageStore(arg_0, uvec3(1u), ivec4(1));
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  textureStore_7792fa();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:5: 'imageStore' : no matching overloaded function found 
+ERROR: 0:5: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 475cf0d..5558dbd 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,11 +1,39 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, rgba16ui) uniform highp writeonly uimage2DArray arg_0;
+void textureStore_779d14() {
+  imageStore(arg_0, uvec3(uvec2(1u), uint(1u)), uvec4(1u));
+}
+void main() {
+  textureStore_779d14();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:7: 'imageStore' : no matching overloaded function found 
+ERROR: 0:7: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, rgba16ui) uniform highp writeonly uimage2DArray arg_0;
+void textureStore_779d14() {
+  imageStore(arg_0, uvec3(uvec2(1u), uint(1u)), uvec4(1u));
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  textureStore_779d14();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:5: 'imageStore' : no matching overloaded function found 
+ERROR: 0:5: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 f4b4716..13ebdee 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,11 +1,39 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 460
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, rg32f) uniform highp image3D arg_0;
+void textureStore_7b8f86() {
+  imageStore(arg_0, uvec3(1u), vec4(1.0f));
+}
+void main() {
+  textureStore_7b8f86();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:7: 'imageStore' : no matching overloaded function found 
+ERROR: 0:7: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 460
+
+layout(binding = 0, rg32f) uniform highp image3D arg_0;
+void textureStore_7b8f86() {
+  imageStore(arg_0, uvec3(1u), vec4(1.0f));
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  textureStore_7b8f86();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:5: 'imageStore' : no matching overloaded function found 
+ERROR: 0:5: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 475cf0d..a1ef2d8 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,11 +1,39 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, rgba16f) uniform highp writeonly image2D arg_0;
+void textureStore_7cf6e7() {
+  imageStore(arg_0, uvec2(1u), vec4(1.0f));
+}
+void main() {
+  textureStore_7cf6e7();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:7: 'imageStore' : no matching overloaded function found 
+ERROR: 0:7: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, rgba16f) uniform highp writeonly image2D arg_0;
+void textureStore_7cf6e7() {
+  imageStore(arg_0, uvec2(1u), vec4(1.0f));
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  textureStore_7cf6e7();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:5: 'imageStore' : no matching overloaded function found 
+ERROR: 0:5: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 475cf0d..00d4120 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,11 +1,41 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, rgba8) uniform highp writeonly image1D arg_0;
+void textureStore_7f7fae() {
+  imageStore(arg_0, 1, vec4(1.0f));
+}
+void main() {
+  textureStore_7f7fae();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:5: 'image1D' : Reserved word. 
+WARNING: 0:5: 'layout' : useless application of layout qualifier 
+ERROR: 0:5: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, rgba8) uniform highp writeonly image1D arg_0;
+void textureStore_7f7fae() {
+  imageStore(arg_0, 1, vec4(1.0f));
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  textureStore_7f7fae();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:3: 'image1D' : Reserved word. 
+WARNING: 0:3: 'layout' : useless application of layout qualifier 
+ERROR: 0:3: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 f4b4716..3a61a61 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,11 +1,39 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 460
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, r8) uniform highp image3D arg_0;
+void textureStore_803a10() {
+  imageStore(arg_0, uvec3(1u), vec4(1.0f));
+}
+void main() {
+  textureStore_803a10();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:7: 'imageStore' : no matching overloaded function found 
+ERROR: 0:7: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 460
+
+layout(binding = 0, r8) uniform highp image3D arg_0;
+void textureStore_803a10() {
+  imageStore(arg_0, uvec3(1u), vec4(1.0f));
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  textureStore_803a10();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:5: 'imageStore' : no matching overloaded function found 
+ERROR: 0:5: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 475cf0d..7682c2e 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,11 +1,41 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, r32ui) uniform highp uimage1D arg_0;
+void textureStore_8676c9() {
+  imageStore(arg_0, 1, uvec4(1u));
+}
+void main() {
+  textureStore_8676c9();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:5: 'uimage1D' : Reserved word. 
+WARNING: 0:5: 'layout' : useless application of layout qualifier 
+ERROR: 0:5: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, r32ui) uniform highp uimage1D arg_0;
+void textureStore_8676c9() {
+  imageStore(arg_0, 1, uvec4(1u));
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  textureStore_8676c9();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:3: 'uimage1D' : Reserved word. 
+WARNING: 0:3: 'layout' : useless application of layout qualifier 
+ERROR: 0:3: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 f4b4716..925f934 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,11 +1,39 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 460
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, rg32ui) uniform highp uimage2D arg_0;
+void textureStore_8a8681() {
+  imageStore(arg_0, uvec2(1u), uvec4(1u));
+}
+void main() {
+  textureStore_8a8681();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:7: 'imageStore' : no matching overloaded function found 
+ERROR: 0:7: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 460
+
+layout(binding = 0, rg32ui) uniform highp uimage2D arg_0;
+void textureStore_8a8681() {
+  imageStore(arg_0, uvec2(1u), uvec4(1u));
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  textureStore_8a8681();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:5: 'imageStore' : no matching overloaded function found 
+ERROR: 0:5: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 475cf0d..3ba8ddb 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,11 +1,39 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, rgba16f) uniform highp writeonly image3D arg_0;
+void textureStore_8b9310() {
+  imageStore(arg_0, uvec3(1u), vec4(1.0f));
+}
+void main() {
+  textureStore_8b9310();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:7: 'imageStore' : no matching overloaded function found 
+ERROR: 0:7: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, rgba16f) uniform highp writeonly image3D arg_0;
+void textureStore_8b9310() {
+  imageStore(arg_0, uvec3(1u), vec4(1.0f));
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  textureStore_8b9310();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:5: 'imageStore' : no matching overloaded function found 
+ERROR: 0:5: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 475cf0d..dd64c50 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,11 +1,39 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, rgba32i) uniform highp writeonly iimage2DArray arg_0;
+void textureStore_8bb287() {
+  imageStore(arg_0, uvec3(uvec2(1u), uint(1u)), ivec4(1));
+}
+void main() {
+  textureStore_8bb287();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:7: 'imageStore' : no matching overloaded function found 
+ERROR: 0:7: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, rgba32i) uniform highp writeonly iimage2DArray arg_0;
+void textureStore_8bb287() {
+  imageStore(arg_0, uvec3(uvec2(1u), uint(1u)), ivec4(1));
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  textureStore_8bb287();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:5: 'imageStore' : no matching overloaded function found 
+ERROR: 0:5: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 475cf0d..2438251 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,11 +1,41 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, rgba16i) uniform highp writeonly iimage1D arg_0;
+void textureStore_8c76e9() {
+  imageStore(arg_0, 1u, ivec4(1));
+}
+void main() {
+  textureStore_8c76e9();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:5: 'iimage1D' : Reserved word. 
+WARNING: 0:5: 'layout' : useless application of layout qualifier 
+ERROR: 0:5: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, rgba16i) uniform highp writeonly iimage1D arg_0;
+void textureStore_8c76e9() {
+  imageStore(arg_0, 1u, ivec4(1));
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  textureStore_8c76e9();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:3: 'iimage1D' : Reserved word. 
+WARNING: 0:3: 'layout' : useless application of layout qualifier 
+ERROR: 0:3: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 475cf0d..7ac5d9d 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,11 +1,39 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 460
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, r8) uniform highp writeonly image3D arg_0;
+void textureStore_8cd611() {
+  imageStore(arg_0, uvec3(1u), vec4(1.0f));
+}
+void main() {
+  textureStore_8cd611();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:7: 'imageStore' : no matching overloaded function found 
+ERROR: 0:7: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 460
+
+layout(binding = 0, r8) uniform highp writeonly image3D arg_0;
+void textureStore_8cd611() {
+  imageStore(arg_0, uvec3(1u), vec4(1.0f));
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  textureStore_8cd611();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:5: 'imageStore' : no matching overloaded function found 
+ERROR: 0:5: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 475cf0d..91fc46f 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,11 +1,39 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, rgba8ui) uniform highp writeonly uimage2D arg_0;
+void textureStore_8dc54f() {
+  imageStore(arg_0, uvec2(1u), uvec4(1u));
+}
+void main() {
+  textureStore_8dc54f();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:7: 'imageStore' : no matching overloaded function found 
+ERROR: 0:7: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, rgba8ui) uniform highp writeonly uimage2D arg_0;
+void textureStore_8dc54f() {
+  imageStore(arg_0, uvec2(1u), uvec4(1u));
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  textureStore_8dc54f();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:5: 'imageStore' : no matching overloaded function found 
+ERROR: 0:5: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 475cf0d..ab7d75e 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,11 +1,39 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, rgba8) uniform highp writeonly image3D arg_0;
+void textureStore_8ed9f8() {
+  imageStore(arg_0, uvec3(1u), vec4(1.0f));
+}
+void main() {
+  textureStore_8ed9f8();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:7: 'imageStore' : no matching overloaded function found 
+ERROR: 0:7: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, rgba8) uniform highp writeonly image3D arg_0;
+void textureStore_8ed9f8() {
+  imageStore(arg_0, uvec3(1u), vec4(1.0f));
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  textureStore_8ed9f8();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:5: 'imageStore' : no matching overloaded function found 
+ERROR: 0:5: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 475cf0d..1cd91e4 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,11 +1,41 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, rgba8i) uniform highp writeonly iimage1D arg_0;
+void textureStore_958353() {
+  imageStore(arg_0, 1u, ivec4(1));
+}
+void main() {
+  textureStore_958353();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:5: 'iimage1D' : Reserved word. 
+WARNING: 0:5: 'layout' : useless application of layout qualifier 
+ERROR: 0:5: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, rgba8i) uniform highp writeonly iimage1D arg_0;
+void textureStore_958353() {
+  imageStore(arg_0, 1u, ivec4(1));
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  textureStore_958353();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:3: 'iimage1D' : Reserved word. 
+WARNING: 0:3: 'layout' : useless application of layout qualifier 
+ERROR: 0:3: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 475cf0d..c290dd2 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,11 +1,41 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, rgba8_snorm) uniform highp writeonly image1D arg_0;
+void textureStore_959d94() {
+  imageStore(arg_0, 1u, vec4(1.0f));
+}
+void main() {
+  textureStore_959d94();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:5: 'image1D' : Reserved word. 
+WARNING: 0:5: 'layout' : useless application of layout qualifier 
+ERROR: 0:5: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, rgba8_snorm) uniform highp writeonly image1D arg_0;
+void textureStore_959d94() {
+  imageStore(arg_0, 1u, vec4(1.0f));
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  textureStore_959d94();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:3: 'image1D' : Reserved word. 
+WARNING: 0:3: 'layout' : useless application of layout qualifier 
+ERROR: 0:3: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 475cf0d..0aa1135 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,11 +1,39 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, r32i) uniform highp writeonly iimage2D arg_0;
+void textureStore_95e452() {
+  imageStore(arg_0, uvec2(1u), ivec4(1));
+}
+void main() {
+  textureStore_95e452();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:7: 'imageStore' : no matching overloaded function found 
+ERROR: 0:7: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, r32i) uniform highp writeonly iimage2D arg_0;
+void textureStore_95e452() {
+  imageStore(arg_0, uvec2(1u), ivec4(1));
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  textureStore_95e452();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:5: 'imageStore' : no matching overloaded function found 
+ERROR: 0:5: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 475cf0d..8159240 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,11 +1,41 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, rgba32i) uniform highp writeonly iimage1D arg_0;
+void textureStore_969534() {
+  imageStore(arg_0, 1, ivec4(1));
+}
+void main() {
+  textureStore_969534();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:5: 'iimage1D' : Reserved word. 
+WARNING: 0:5: 'layout' : useless application of layout qualifier 
+ERROR: 0:5: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, rgba32i) uniform highp writeonly iimage1D arg_0;
+void textureStore_969534() {
+  imageStore(arg_0, 1, ivec4(1));
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  textureStore_969534();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:3: 'iimage1D' : Reserved word. 
+WARNING: 0:3: 'layout' : useless application of layout qualifier 
+ERROR: 0:3: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 3910173..d121357 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,11 +1,39 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:994 internal compiler error: bgra8unorm should have been polyfilled to rgba8unorm
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, rgba8) uniform highp writeonly image3D arg_0;
+void textureStore_9aedd3() {
+  imageStore(arg_0, uvec3(1u), vec4(1.0f).zyxw);
+}
+void main() {
+  textureStore_9aedd3();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:7: 'imageStore' : no matching overloaded function found 
+ERROR: 0:7: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, rgba8) uniform highp writeonly image3D arg_0;
+void textureStore_9aedd3() {
+  imageStore(arg_0, uvec3(1u), vec4(1.0f).zyxw);
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  textureStore_9aedd3();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:5: 'imageStore' : no matching overloaded function found 
+ERROR: 0:5: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 475cf0d..377a1a2 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,11 +1,39 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 460
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, r8) uniform highp writeonly image2D arg_0;
+void textureStore_9e5bc2() {
+  imageStore(arg_0, uvec2(1u), vec4(1.0f));
+}
+void main() {
+  textureStore_9e5bc2();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:7: 'imageStore' : no matching overloaded function found 
+ERROR: 0:7: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 460
+
+layout(binding = 0, r8) uniform highp writeonly image2D arg_0;
+void textureStore_9e5bc2() {
+  imageStore(arg_0, uvec2(1u), vec4(1.0f));
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  textureStore_9e5bc2();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:5: 'imageStore' : no matching overloaded function found 
+ERROR: 0:5: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 475cf0d..2e668fd 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,11 +1,39 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 460
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, rg32i) uniform highp writeonly iimage2D arg_0;
+void textureStore_9f5318() {
+  imageStore(arg_0, uvec2(1u), ivec4(1));
+}
+void main() {
+  textureStore_9f5318();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:7: 'imageStore' : no matching overloaded function found 
+ERROR: 0:7: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 460
+
+layout(binding = 0, rg32i) uniform highp writeonly iimage2D arg_0;
+void textureStore_9f5318() {
+  imageStore(arg_0, uvec2(1u), ivec4(1));
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  textureStore_9f5318();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:5: 'imageStore' : no matching overloaded function found 
+ERROR: 0:5: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 475cf0d..5377d89 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,11 +1,39 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, rgba16f) uniform highp writeonly image2DArray arg_0;
+void textureStore_a0f96e() {
+  imageStore(arg_0, uvec3(uvec2(1u), uint(1u)), vec4(1.0f));
+}
+void main() {
+  textureStore_a0f96e();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:7: 'imageStore' : no matching overloaded function found 
+ERROR: 0:7: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, rgba16f) uniform highp writeonly image2DArray arg_0;
+void textureStore_a0f96e() {
+  imageStore(arg_0, uvec3(uvec2(1u), uint(1u)), vec4(1.0f));
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  textureStore_a0f96e();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:5: 'imageStore' : no matching overloaded function found 
+ERROR: 0:5: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 475cf0d..1bb7bcc 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,11 +1,39 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, rgba8i) uniform highp writeonly iimage2DArray arg_0;
+void textureStore_a1352c() {
+  imageStore(arg_0, uvec3(uvec2(1u), uint(1u)), ivec4(1));
+}
+void main() {
+  textureStore_a1352c();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:7: 'imageStore' : no matching overloaded function found 
+ERROR: 0:7: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, rgba8i) uniform highp writeonly iimage2DArray arg_0;
+void textureStore_a1352c() {
+  imageStore(arg_0, uvec3(uvec2(1u), uint(1u)), ivec4(1));
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  textureStore_a1352c();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:5: 'imageStore' : no matching overloaded function found 
+ERROR: 0:5: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 3910173..7d571bf 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,11 +1,39 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:994 internal compiler error: bgra8unorm should have been polyfilled to rgba8unorm
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, rgba8) uniform highp writeonly image2D arg_0;
+void textureStore_a165b8() {
+  imageStore(arg_0, uvec2(1u), vec4(1.0f).zyxw);
+}
+void main() {
+  textureStore_a165b8();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:7: 'imageStore' : no matching overloaded function found 
+ERROR: 0:7: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, rgba8) uniform highp writeonly image2D arg_0;
+void textureStore_a165b8() {
+  imageStore(arg_0, uvec2(1u), vec4(1.0f).zyxw);
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  textureStore_a165b8();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:5: 'imageStore' : no matching overloaded function found 
+ERROR: 0:5: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 475cf0d..f438ad3 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,11 +1,41 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, rgba16f) uniform highp writeonly image1D arg_0;
+void textureStore_a4c338() {
+  imageStore(arg_0, 1u, vec4(1.0f));
+}
+void main() {
+  textureStore_a4c338();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:5: 'image1D' : Reserved word. 
+WARNING: 0:5: 'layout' : useless application of layout qualifier 
+ERROR: 0:5: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, rgba16f) uniform highp writeonly image1D arg_0;
+void textureStore_a4c338() {
+  imageStore(arg_0, 1u, vec4(1.0f));
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  textureStore_a4c338();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:3: 'image1D' : Reserved word. 
+WARNING: 0:3: 'layout' : useless application of layout qualifier 
+ERROR: 0:3: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 475cf0d..b0fe555 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,11 +1,39 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, rgba32f) uniform highp writeonly image3D arg_0;
+void textureStore_a5e80d() {
+  imageStore(arg_0, uvec3(1u), vec4(1.0f));
+}
+void main() {
+  textureStore_a5e80d();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:7: 'imageStore' : no matching overloaded function found 
+ERROR: 0:7: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, rgba32f) uniform highp writeonly image3D arg_0;
+void textureStore_a5e80d() {
+  imageStore(arg_0, uvec3(1u), vec4(1.0f));
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  textureStore_a5e80d();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:5: 'imageStore' : no matching overloaded function found 
+ERROR: 0:5: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 023772f..6338d00 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:994 internal compiler error: bgra8unorm should have been polyfilled to rgba8unorm
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 475cf0d..4f4c3af 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,11 +1,39 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, rgba16f) uniform highp writeonly image2DArray arg_0;
+void textureStore_a6a986() {
+  imageStore(arg_0, uvec3(uvec2(1u), uint(1)), vec4(1.0f));
+}
+void main() {
+  textureStore_a6a986();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:7: 'imageStore' : no matching overloaded function found 
+ERROR: 0:7: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, rgba16f) uniform highp writeonly image2DArray arg_0;
+void textureStore_a6a986() {
+  imageStore(arg_0, uvec3(uvec2(1u), uint(1)), vec4(1.0f));
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  textureStore_a6a986();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:5: 'imageStore' : no matching overloaded function found 
+ERROR: 0:5: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 475cf0d..d3446c8 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,11 +1,41 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, r32ui) uniform highp writeonly uimage1D arg_0;
+void textureStore_a6e78f() {
+  imageStore(arg_0, 1u, uvec4(1u));
+}
+void main() {
+  textureStore_a6e78f();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:5: 'uimage1D' : Reserved word. 
+WARNING: 0:5: 'layout' : useless application of layout qualifier 
+ERROR: 0:5: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, r32ui) uniform highp writeonly uimage1D arg_0;
+void textureStore_a6e78f() {
+  imageStore(arg_0, 1u, uvec4(1u));
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  textureStore_a6e78f();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:3: 'uimage1D' : Reserved word. 
+WARNING: 0:3: 'layout' : useless application of layout qualifier 
+ERROR: 0:3: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 f4b4716..ec24a46 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,11 +1,39 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 460
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, r8) uniform highp image1D arg_0;
+void textureStore_a7fc47() {
+  imageStore(arg_0, 1u, vec4(1.0f));
+}
+void main() {
+  textureStore_a7fc47();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:7: 'imageStore' : no matching overloaded function found 
+ERROR: 0:7: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 460
+
+layout(binding = 0, r8) uniform highp image1D arg_0;
+void textureStore_a7fc47() {
+  imageStore(arg_0, 1u, vec4(1.0f));
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  textureStore_a7fc47();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:5: 'imageStore' : no matching overloaded function found 
+ERROR: 0:5: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 f4b4716..5eadbae 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,11 +1,39 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 460
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, rg32ui) uniform highp uimage1D arg_0;
+void textureStore_a9298c() {
+  imageStore(arg_0, 1u, uvec4(1u));
+}
+void main() {
+  textureStore_a9298c();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:7: 'imageStore' : no matching overloaded function found 
+ERROR: 0:7: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 460
+
+layout(binding = 0, rg32ui) uniform highp uimage1D arg_0;
+void textureStore_a9298c() {
+  imageStore(arg_0, 1u, uvec4(1u));
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  textureStore_a9298c();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:5: 'imageStore' : no matching overloaded function found 
+ERROR: 0:5: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 475cf0d..d40369a 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,11 +1,39 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, rgba32ui) uniform highp writeonly uimage2DArray arg_0;
+void textureStore_a9426c() {
+  imageStore(arg_0, uvec3(uvec2(1u), uint(1u)), uvec4(1u));
+}
+void main() {
+  textureStore_a9426c();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:7: 'imageStore' : no matching overloaded function found 
+ERROR: 0:7: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, rgba32ui) uniform highp writeonly uimage2DArray arg_0;
+void textureStore_a9426c() {
+  imageStore(arg_0, uvec3(uvec2(1u), uint(1u)), uvec4(1u));
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  textureStore_a9426c();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:5: 'imageStore' : no matching overloaded function found 
+ERROR: 0:5: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 475cf0d..0f14382 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,11 +1,39 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, r32ui) uniform highp uimage2DArray arg_0;
+void textureStore_abdd21() {
+  imageStore(arg_0, uvec3(uvec2(1u), uint(1u)), uvec4(1u));
+}
+void main() {
+  textureStore_abdd21();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:7: 'imageStore' : no matching overloaded function found 
+ERROR: 0:7: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, r32ui) uniform highp uimage2DArray arg_0;
+void textureStore_abdd21() {
+  imageStore(arg_0, uvec3(uvec2(1u), uint(1u)), uvec4(1u));
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  textureStore_abdd21();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:5: 'imageStore' : no matching overloaded function found 
+ERROR: 0:5: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 f4b4716..14ea815 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,11 +1,39 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 460
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, r8) uniform highp image2DArray arg_0;
+void textureStore_ae6a2a() {
+  imageStore(arg_0, uvec3(uvec2(1u), uint(1u)), vec4(1.0f));
+}
+void main() {
+  textureStore_ae6a2a();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:7: 'imageStore' : no matching overloaded function found 
+ERROR: 0:7: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 460
+
+layout(binding = 0, r8) uniform highp image2DArray arg_0;
+void textureStore_ae6a2a() {
+  imageStore(arg_0, uvec3(uvec2(1u), uint(1u)), vec4(1.0f));
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  textureStore_ae6a2a();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:5: 'imageStore' : no matching overloaded function found 
+ERROR: 0:5: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 475cf0d..f3beb5d 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,11 +1,39 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, rgba32ui) uniform highp writeonly uimage2D arg_0;
+void textureStore_aeb38a() {
+  imageStore(arg_0, uvec2(1u), uvec4(1u));
+}
+void main() {
+  textureStore_aeb38a();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:7: 'imageStore' : no matching overloaded function found 
+ERROR: 0:7: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, rgba32ui) uniform highp writeonly uimage2D arg_0;
+void textureStore_aeb38a() {
+  imageStore(arg_0, uvec2(1u), uvec4(1u));
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  textureStore_aeb38a();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:5: 'imageStore' : no matching overloaded function found 
+ERROR: 0:5: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 475cf0d..790daca 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,11 +1,39 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, rgba8ui) uniform highp writeonly uimage2DArray arg_0;
+void textureStore_b42fd3() {
+  imageStore(arg_0, uvec3(uvec2(1u), uint(1u)), uvec4(1u));
+}
+void main() {
+  textureStore_b42fd3();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:7: 'imageStore' : no matching overloaded function found 
+ERROR: 0:7: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, rgba8ui) uniform highp writeonly uimage2DArray arg_0;
+void textureStore_b42fd3() {
+  imageStore(arg_0, uvec3(uvec2(1u), uint(1u)), uvec4(1u));
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  textureStore_b42fd3();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:5: 'imageStore' : no matching overloaded function found 
+ERROR: 0:5: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 023772f..6338d00 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:994 internal compiler error: bgra8unorm should have been polyfilled to rgba8unorm
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 475cf0d..0bcf114 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,11 +1,41 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, rgba16ui) uniform highp writeonly uimage1D arg_0;
+void textureStore_b70ded() {
+  imageStore(arg_0, 1u, uvec4(1u));
+}
+void main() {
+  textureStore_b70ded();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:5: 'uimage1D' : Reserved word. 
+WARNING: 0:5: 'layout' : useless application of layout qualifier 
+ERROR: 0:5: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, rgba16ui) uniform highp writeonly uimage1D arg_0;
+void textureStore_b70ded() {
+  imageStore(arg_0, 1u, uvec4(1u));
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  textureStore_b70ded();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:3: 'uimage1D' : Reserved word. 
+WARNING: 0:3: 'layout' : useless application of layout qualifier 
+ERROR: 0:3: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 f4b4716..4584d99 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,11 +1,39 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 460
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, rg32f) uniform highp image2DArray arg_0;
+void textureStore_b71c13() {
+  imageStore(arg_0, uvec3(uvec2(1u), uint(1)), vec4(1.0f));
+}
+void main() {
+  textureStore_b71c13();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:7: 'imageStore' : no matching overloaded function found 
+ERROR: 0:7: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 460
+
+layout(binding = 0, rg32f) uniform highp image2DArray arg_0;
+void textureStore_b71c13() {
+  imageStore(arg_0, uvec3(uvec2(1u), uint(1)), vec4(1.0f));
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  textureStore_b71c13();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:5: 'imageStore' : no matching overloaded function found 
+ERROR: 0:5: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 475cf0d..eb0c0df 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,11 +1,41 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, r32f) uniform highp image1D arg_0;
+void textureStore_b7232c() {
+  imageStore(arg_0, 1u, vec4(1.0f));
+}
+void main() {
+  textureStore_b7232c();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:5: 'image1D' : Reserved word. 
+WARNING: 0:5: 'layout' : useless application of layout qualifier 
+ERROR: 0:5: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, r32f) uniform highp image1D arg_0;
+void textureStore_b7232c() {
+  imageStore(arg_0, 1u, vec4(1.0f));
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  textureStore_b7232c();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:3: 'image1D' : Reserved word. 
+WARNING: 0:3: 'layout' : useless application of layout qualifier 
+ERROR: 0:3: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 475cf0d..18b1ce1 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,11 +1,39 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, rgba16i) uniform highp writeonly iimage2D arg_0;
+void textureStore_b76ff3() {
+  imageStore(arg_0, uvec2(1u), ivec4(1));
+}
+void main() {
+  textureStore_b76ff3();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:7: 'imageStore' : no matching overloaded function found 
+ERROR: 0:7: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, rgba16i) uniform highp writeonly iimage2D arg_0;
+void textureStore_b76ff3() {
+  imageStore(arg_0, uvec2(1u), ivec4(1));
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  textureStore_b76ff3();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:5: 'imageStore' : no matching overloaded function found 
+ERROR: 0:5: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 475cf0d..c715ae9 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,11 +1,39 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 460
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, rg32ui) uniform highp writeonly uimage1D arg_0;
+void textureStore_b77161() {
+  imageStore(arg_0, 1u, uvec4(1u));
+}
+void main() {
+  textureStore_b77161();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:7: 'imageStore' : no matching overloaded function found 
+ERROR: 0:7: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 460
+
+layout(binding = 0, rg32ui) uniform highp writeonly uimage1D arg_0;
+void textureStore_b77161() {
+  imageStore(arg_0, 1u, uvec4(1u));
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  textureStore_b77161();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:5: 'imageStore' : no matching overloaded function found 
+ERROR: 0:5: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 023772f..6338d00 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:994 internal compiler error: bgra8unorm should have been polyfilled to rgba8unorm
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 475cf0d..cda7b4f8 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,11 +1,39 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 460
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, r8) uniform highp writeonly image2DArray arg_0;
+void textureStore_b91b86() {
+  imageStore(arg_0, uvec3(uvec2(1u), uint(1)), vec4(1.0f));
+}
+void main() {
+  textureStore_b91b86();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:7: 'imageStore' : no matching overloaded function found 
+ERROR: 0:7: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 460
+
+layout(binding = 0, r8) uniform highp writeonly image2DArray arg_0;
+void textureStore_b91b86() {
+  imageStore(arg_0, uvec3(uvec2(1u), uint(1)), vec4(1.0f));
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  textureStore_b91b86();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:5: 'imageStore' : no matching overloaded function found 
+ERROR: 0:5: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 f4b4716..e677e9b 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,11 +1,39 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 460
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, rg32ui) uniform highp uimage2DArray arg_0;
+void textureStore_bd6602() {
+  imageStore(arg_0, uvec3(uvec2(1u), uint(1)), uvec4(1u));
+}
+void main() {
+  textureStore_bd6602();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:7: 'imageStore' : no matching overloaded function found 
+ERROR: 0:7: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 460
+
+layout(binding = 0, rg32ui) uniform highp uimage2DArray arg_0;
+void textureStore_bd6602() {
+  imageStore(arg_0, uvec3(uvec2(1u), uint(1)), uvec4(1u));
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  textureStore_bd6602();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:5: 'imageStore' : no matching overloaded function found 
+ERROR: 0:5: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 475cf0d..c286ce1 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,11 +1,41 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, rgba8i) uniform highp writeonly iimage1D arg_0;
+void textureStore_bf775c() {
+  imageStore(arg_0, 1, ivec4(1));
+}
+void main() {
+  textureStore_bf775c();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:5: 'iimage1D' : Reserved word. 
+WARNING: 0:5: 'layout' : useless application of layout qualifier 
+ERROR: 0:5: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, rgba8i) uniform highp writeonly iimage1D arg_0;
+void textureStore_bf775c() {
+  imageStore(arg_0, 1, ivec4(1));
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  textureStore_bf775c();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:3: 'iimage1D' : Reserved word. 
+WARNING: 0:3: 'layout' : useless application of layout qualifier 
+ERROR: 0:3: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 023772f..6338d00 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:994 internal compiler error: bgra8unorm should have been polyfilled to rgba8unorm
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 475cf0d..cec33c4 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,11 +1,41 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, r32f) uniform highp writeonly image1D arg_0;
+void textureStore_c1f29e() {
+  imageStore(arg_0, 1u, vec4(1.0f));
+}
+void main() {
+  textureStore_c1f29e();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:5: 'image1D' : Reserved word. 
+WARNING: 0:5: 'layout' : useless application of layout qualifier 
+ERROR: 0:5: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, r32f) uniform highp writeonly image1D arg_0;
+void textureStore_c1f29e() {
+  imageStore(arg_0, 1u, vec4(1.0f));
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  textureStore_c1f29e();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:3: 'image1D' : Reserved word. 
+WARNING: 0:3: 'layout' : useless application of layout qualifier 
+ERROR: 0:3: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 475cf0d..45672ad 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,11 +1,39 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, rgba16i) uniform highp writeonly iimage2DArray arg_0;
+void textureStore_c2ca46() {
+  imageStore(arg_0, uvec3(uvec2(1u), uint(1u)), ivec4(1));
+}
+void main() {
+  textureStore_c2ca46();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:7: 'imageStore' : no matching overloaded function found 
+ERROR: 0:7: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, rgba16i) uniform highp writeonly iimage2DArray arg_0;
+void textureStore_c2ca46() {
+  imageStore(arg_0, uvec3(uvec2(1u), uint(1u)), ivec4(1));
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  textureStore_c2ca46();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:5: 'imageStore' : no matching overloaded function found 
+ERROR: 0:5: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 475cf0d..f8efb9a 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,11 +1,39 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, rgba8i) uniform highp writeonly iimage2DArray arg_0;
+void textureStore_c32905() {
+  imageStore(arg_0, uvec3(uvec2(1u), uint(1)), ivec4(1));
+}
+void main() {
+  textureStore_c32905();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:7: 'imageStore' : no matching overloaded function found 
+ERROR: 0:7: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, rgba8i) uniform highp writeonly iimage2DArray arg_0;
+void textureStore_c32905() {
+  imageStore(arg_0, uvec3(uvec2(1u), uint(1)), ivec4(1));
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  textureStore_c32905();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:5: 'imageStore' : no matching overloaded function found 
+ERROR: 0:5: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 475cf0d..0b65b9e 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,11 +1,39 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, r32ui) uniform highp uimage2DArray arg_0;
+void textureStore_c35268() {
+  imageStore(arg_0, uvec3(uvec2(1u), uint(1)), uvec4(1u));
+}
+void main() {
+  textureStore_c35268();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:7: 'imageStore' : no matching overloaded function found 
+ERROR: 0:7: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, r32ui) uniform highp uimage2DArray arg_0;
+void textureStore_c35268() {
+  imageStore(arg_0, uvec3(uvec2(1u), uint(1)), uvec4(1u));
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  textureStore_c35268();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:5: 'imageStore' : no matching overloaded function found 
+ERROR: 0:5: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 3910173..afa3180 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,11 +1,41 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:994 internal compiler error: bgra8unorm should have been polyfilled to rgba8unorm
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, rgba8) uniform highp writeonly image1D arg_0;
+void textureStore_c9d780() {
+  imageStore(arg_0, 1u, vec4(1.0f).zyxw);
+}
+void main() {
+  textureStore_c9d780();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:5: 'image1D' : Reserved word. 
+WARNING: 0:5: 'layout' : useless application of layout qualifier 
+ERROR: 0:5: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, rgba8) uniform highp writeonly image1D arg_0;
+void textureStore_c9d780() {
+  imageStore(arg_0, 1u, vec4(1.0f).zyxw);
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  textureStore_c9d780();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:3: 'image1D' : Reserved word. 
+WARNING: 0:3: 'layout' : useless application of layout qualifier 
+ERROR: 0:3: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 475cf0d..69341b0 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,11 +1,39 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, rgba8i) uniform highp writeonly iimage3D arg_0;
+void textureStore_cb3b0b() {
+  imageStore(arg_0, uvec3(1u), ivec4(1));
+}
+void main() {
+  textureStore_cb3b0b();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:7: 'imageStore' : no matching overloaded function found 
+ERROR: 0:7: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, rgba8i) uniform highp writeonly iimage3D arg_0;
+void textureStore_cb3b0b() {
+  imageStore(arg_0, uvec3(1u), ivec4(1));
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  textureStore_cb3b0b();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:5: 'imageStore' : no matching overloaded function found 
+ERROR: 0:5: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 475cf0d..3007f1f 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,11 +1,39 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, r32ui) uniform highp writeonly uimage3D arg_0;
+void textureStore_cd6755() {
+  imageStore(arg_0, uvec3(1u), uvec4(1u));
+}
+void main() {
+  textureStore_cd6755();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:7: 'imageStore' : no matching overloaded function found 
+ERROR: 0:7: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, r32ui) uniform highp writeonly uimage3D arg_0;
+void textureStore_cd6755() {
+  imageStore(arg_0, uvec3(1u), uvec4(1u));
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  textureStore_cd6755();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:5: 'imageStore' : no matching overloaded function found 
+ERROR: 0:5: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 475cf0d..3d2f1d8 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,11 +1,39 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, r32i) uniform highp iimage2DArray arg_0;
+void textureStore_ceb832() {
+  imageStore(arg_0, uvec3(uvec2(1u), uint(1u)), ivec4(1));
+}
+void main() {
+  textureStore_ceb832();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:7: 'imageStore' : no matching overloaded function found 
+ERROR: 0:7: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, r32i) uniform highp iimage2DArray arg_0;
+void textureStore_ceb832() {
+  imageStore(arg_0, uvec3(uvec2(1u), uint(1u)), ivec4(1));
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  textureStore_ceb832();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:5: 'imageStore' : no matching overloaded function found 
+ERROR: 0:5: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 475cf0d..281948b 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,11 +1,41 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, rgba32ui) uniform highp writeonly uimage1D arg_0;
+void textureStore_d26166() {
+  imageStore(arg_0, 1u, uvec4(1u));
+}
+void main() {
+  textureStore_d26166();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:5: 'uimage1D' : Reserved word. 
+WARNING: 0:5: 'layout' : useless application of layout qualifier 
+ERROR: 0:5: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, rgba32ui) uniform highp writeonly uimage1D arg_0;
+void textureStore_d26166() {
+  imageStore(arg_0, 1u, uvec4(1u));
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  textureStore_d26166();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:3: 'uimage1D' : Reserved word. 
+WARNING: 0:3: 'layout' : useless application of layout qualifier 
+ERROR: 0:3: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 475cf0d..44c9b42 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,11 +1,39 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, rgba8ui) uniform highp writeonly uimage3D arg_0;
+void textureStore_d2b565() {
+  imageStore(arg_0, uvec3(1u), uvec4(1u));
+}
+void main() {
+  textureStore_d2b565();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:7: 'imageStore' : no matching overloaded function found 
+ERROR: 0:7: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, rgba8ui) uniform highp writeonly uimage3D arg_0;
+void textureStore_d2b565() {
+  imageStore(arg_0, uvec3(1u), uvec4(1u));
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  textureStore_d2b565();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:5: 'imageStore' : no matching overloaded function found 
+ERROR: 0:5: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 475cf0d..c05fbfe 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,11 +1,39 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, rgba32ui) uniform highp writeonly uimage3D arg_0;
+void textureStore_d4aa95() {
+  imageStore(arg_0, uvec3(1u), uvec4(1u));
+}
+void main() {
+  textureStore_d4aa95();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:7: 'imageStore' : no matching overloaded function found 
+ERROR: 0:7: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, rgba32ui) uniform highp writeonly uimage3D arg_0;
+void textureStore_d4aa95() {
+  imageStore(arg_0, uvec3(1u), uvec4(1u));
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  textureStore_d4aa95();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:5: 'imageStore' : no matching overloaded function found 
+ERROR: 0:5: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 475cf0d..21aed65 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,11 +1,39 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, r32f) uniform highp writeonly image2DArray arg_0;
+void textureStore_d55e65() {
+  imageStore(arg_0, uvec3(uvec2(1u), uint(1)), vec4(1.0f));
+}
+void main() {
+  textureStore_d55e65();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:7: 'imageStore' : no matching overloaded function found 
+ERROR: 0:7: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, r32f) uniform highp writeonly image2DArray arg_0;
+void textureStore_d55e65() {
+  imageStore(arg_0, uvec3(uvec2(1u), uint(1)), vec4(1.0f));
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  textureStore_d55e65();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:5: 'imageStore' : no matching overloaded function found 
+ERROR: 0:5: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 475cf0d..ffaa641 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,11 +1,39 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 460
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, rg32i) uniform highp writeonly iimage3D arg_0;
+void textureStore_d82b0a() {
+  imageStore(arg_0, uvec3(1u), ivec4(1));
+}
+void main() {
+  textureStore_d82b0a();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:7: 'imageStore' : no matching overloaded function found 
+ERROR: 0:7: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 460
+
+layout(binding = 0, rg32i) uniform highp writeonly iimage3D arg_0;
+void textureStore_d82b0a() {
+  imageStore(arg_0, uvec3(1u), ivec4(1));
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  textureStore_d82b0a();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:5: 'imageStore' : no matching overloaded function found 
+ERROR: 0:5: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 475cf0d..8afbae2 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,11 +1,39 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, rgba16ui) uniform highp writeonly uimage2D arg_0;
+void textureStore_db92a2() {
+  imageStore(arg_0, uvec2(1u), uvec4(1u));
+}
+void main() {
+  textureStore_db92a2();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:7: 'imageStore' : no matching overloaded function found 
+ERROR: 0:7: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, rgba16ui) uniform highp writeonly uimage2D arg_0;
+void textureStore_db92a2() {
+  imageStore(arg_0, uvec2(1u), uvec4(1u));
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  textureStore_db92a2();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:5: 'imageStore' : no matching overloaded function found 
+ERROR: 0:5: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 475cf0d..1e1f2fd 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,11 +1,39 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, r32f) uniform highp image2DArray arg_0;
+void textureStore_dce0e2() {
+  imageStore(arg_0, uvec3(uvec2(1u), uint(1)), vec4(1.0f));
+}
+void main() {
+  textureStore_dce0e2();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:7: 'imageStore' : no matching overloaded function found 
+ERROR: 0:7: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, r32f) uniform highp image2DArray arg_0;
+void textureStore_dce0e2() {
+  imageStore(arg_0, uvec3(uvec2(1u), uint(1)), vec4(1.0f));
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  textureStore_dce0e2();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:5: 'imageStore' : no matching overloaded function found 
+ERROR: 0:5: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 475cf0d..1858c11 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,11 +1,41 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, r32i) uniform highp writeonly iimage1D arg_0;
+void textureStore_de4b94() {
+  imageStore(arg_0, 1u, ivec4(1));
+}
+void main() {
+  textureStore_de4b94();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:5: 'iimage1D' : Reserved word. 
+WARNING: 0:5: 'layout' : useless application of layout qualifier 
+ERROR: 0:5: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, r32i) uniform highp writeonly iimage1D arg_0;
+void textureStore_de4b94() {
+  imageStore(arg_0, 1u, ivec4(1));
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  textureStore_de4b94();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:3: 'iimage1D' : Reserved word. 
+WARNING: 0:3: 'layout' : useless application of layout qualifier 
+ERROR: 0:3: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 475cf0d..2f05fd7 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,11 +1,39 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, r32i) uniform highp iimage3D arg_0;
+void textureStore_df0c51() {
+  imageStore(arg_0, uvec3(1u), ivec4(1));
+}
+void main() {
+  textureStore_df0c51();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:7: 'imageStore' : no matching overloaded function found 
+ERROR: 0:7: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, r32i) uniform highp iimage3D arg_0;
+void textureStore_df0c51() {
+  imageStore(arg_0, uvec3(1u), ivec4(1));
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  textureStore_df0c51();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:5: 'imageStore' : no matching overloaded function found 
+ERROR: 0:5: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 475cf0d..f8d3345 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,11 +1,39 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 460
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, rg32f) uniform highp writeonly image2DArray arg_0;
+void textureStore_dfa9a1() {
+  imageStore(arg_0, uvec3(uvec2(1u), uint(1)), vec4(1.0f));
+}
+void main() {
+  textureStore_dfa9a1();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:7: 'imageStore' : no matching overloaded function found 
+ERROR: 0:7: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 460
+
+layout(binding = 0, rg32f) uniform highp writeonly image2DArray arg_0;
+void textureStore_dfa9a1() {
+  imageStore(arg_0, uvec3(uvec2(1u), uint(1)), vec4(1.0f));
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  textureStore_dfa9a1();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:5: 'imageStore' : no matching overloaded function found 
+ERROR: 0:5: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 3910173..e848bd0 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,11 +1,41 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:994 internal compiler error: bgra8unorm should have been polyfilled to rgba8unorm
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, rgba8) uniform highp writeonly image1D arg_0;
+void textureStore_e0b666() {
+  imageStore(arg_0, 1, vec4(1.0f).zyxw);
+}
+void main() {
+  textureStore_e0b666();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:5: 'image1D' : Reserved word. 
+WARNING: 0:5: 'layout' : useless application of layout qualifier 
+ERROR: 0:5: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, rgba8) uniform highp writeonly image1D arg_0;
+void textureStore_e0b666() {
+  imageStore(arg_0, 1, vec4(1.0f).zyxw);
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  textureStore_e0b666();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:3: 'image1D' : Reserved word. 
+WARNING: 0:3: 'layout' : useless application of layout qualifier 
+ERROR: 0:3: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 3910173..609e68b 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,11 +1,39 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:994 internal compiler error: bgra8unorm should have been polyfilled to rgba8unorm
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, rgba8) uniform highp writeonly image2DArray arg_0;
+void textureStore_e38281() {
+  imageStore(arg_0, uvec3(uvec2(1u), uint(1u)), vec4(1.0f).zyxw);
+}
+void main() {
+  textureStore_e38281();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:7: 'imageStore' : no matching overloaded function found 
+ERROR: 0:7: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, rgba8) uniform highp writeonly image2DArray arg_0;
+void textureStore_e38281() {
+  imageStore(arg_0, uvec3(uvec2(1u), uint(1u)), vec4(1.0f).zyxw);
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  textureStore_e38281();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:5: 'imageStore' : no matching overloaded function found 
+ERROR: 0:5: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 023772f..6338d00 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:994 internal compiler error: bgra8unorm should have been polyfilled to rgba8unorm
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 475cf0d..9a8b820 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,11 +1,41 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, rgba8) uniform highp writeonly image1D arg_0;
+void textureStore_e7c6d8() {
+  imageStore(arg_0, 1u, vec4(1.0f));
+}
+void main() {
+  textureStore_e7c6d8();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:5: 'image1D' : Reserved word. 
+WARNING: 0:5: 'layout' : useless application of layout qualifier 
+ERROR: 0:5: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, rgba8) uniform highp writeonly image1D arg_0;
+void textureStore_e7c6d8() {
+  imageStore(arg_0, 1u, vec4(1.0f));
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  textureStore_e7c6d8();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:3: 'image1D' : Reserved word. 
+WARNING: 0:3: 'layout' : useless application of layout qualifier 
+ERROR: 0:3: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 475cf0d..556024d 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,11 +1,41 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, rgba16f) uniform highp writeonly image1D arg_0;
+void textureStore_e885e8() {
+  imageStore(arg_0, 1, vec4(1.0f));
+}
+void main() {
+  textureStore_e885e8();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:5: 'image1D' : Reserved word. 
+WARNING: 0:5: 'layout' : useless application of layout qualifier 
+ERROR: 0:5: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, rgba16f) uniform highp writeonly image1D arg_0;
+void textureStore_e885e8() {
+  imageStore(arg_0, 1, vec4(1.0f));
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  textureStore_e885e8();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:3: 'image1D' : Reserved word. 
+WARNING: 0:3: 'layout' : useless application of layout qualifier 
+ERROR: 0:3: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 475cf0d..7179a5f 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,11 +1,39 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, r32ui) uniform highp writeonly uimage2D arg_0;
+void textureStore_e8cbf7() {
+  imageStore(arg_0, uvec2(1u), uvec4(1u));
+}
+void main() {
+  textureStore_e8cbf7();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:7: 'imageStore' : no matching overloaded function found 
+ERROR: 0:7: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, r32ui) uniform highp writeonly uimage2D arg_0;
+void textureStore_e8cbf7() {
+  imageStore(arg_0, uvec2(1u), uvec4(1u));
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  textureStore_e8cbf7();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:5: 'imageStore' : no matching overloaded function found 
+ERROR: 0:5: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 f4b4716..a5efe0b 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,11 +1,39 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 460
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, rg32i) uniform highp iimage2DArray arg_0;
+void textureStore_ea30d2() {
+  imageStore(arg_0, uvec3(uvec2(1u), uint(1)), ivec4(1));
+}
+void main() {
+  textureStore_ea30d2();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:7: 'imageStore' : no matching overloaded function found 
+ERROR: 0:7: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 460
+
+layout(binding = 0, rg32i) uniform highp iimage2DArray arg_0;
+void textureStore_ea30d2() {
+  imageStore(arg_0, uvec3(uvec2(1u), uint(1)), ivec4(1));
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  textureStore_ea30d2();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:5: 'imageStore' : no matching overloaded function found 
+ERROR: 0:5: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 475cf0d..8404689 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,11 +1,39 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, r32i) uniform highp writeonly iimage3D arg_0;
+void textureStore_f1e6d3() {
+  imageStore(arg_0, uvec3(1u), ivec4(1));
+}
+void main() {
+  textureStore_f1e6d3();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:7: 'imageStore' : no matching overloaded function found 
+ERROR: 0:7: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, r32i) uniform highp writeonly iimage3D arg_0;
+void textureStore_f1e6d3() {
+  imageStore(arg_0, uvec3(1u), ivec4(1));
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  textureStore_f1e6d3();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:5: 'imageStore' : no matching overloaded function found 
+ERROR: 0:5: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 475cf0d..3a65ec6 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,11 +1,41 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, r32i) uniform highp iimage1D arg_0;
+void textureStore_f64d69() {
+  imageStore(arg_0, 1, ivec4(1));
+}
+void main() {
+  textureStore_f64d69();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:5: 'iimage1D' : Reserved word. 
+WARNING: 0:5: 'layout' : useless application of layout qualifier 
+ERROR: 0:5: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, r32i) uniform highp iimage1D arg_0;
+void textureStore_f64d69() {
+  imageStore(arg_0, 1, ivec4(1));
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  textureStore_f64d69();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:3: 'iimage1D' : Reserved word. 
+WARNING: 0:3: 'layout' : useless application of layout qualifier 
+ERROR: 0:3: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 475cf0d..11c43f9 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,11 +1,39 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 460
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, r8) uniform highp writeonly image2DArray arg_0;
+void textureStore_f7b0ab() {
+  imageStore(arg_0, uvec3(uvec2(1u), uint(1u)), vec4(1.0f));
+}
+void main() {
+  textureStore_f7b0ab();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:7: 'imageStore' : no matching overloaded function found 
+ERROR: 0:7: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 460
+
+layout(binding = 0, r8) uniform highp writeonly image2DArray arg_0;
+void textureStore_f7b0ab() {
+  imageStore(arg_0, uvec3(uvec2(1u), uint(1u)), vec4(1.0f));
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  textureStore_f7b0ab();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:5: 'imageStore' : no matching overloaded function found 
+ERROR: 0:5: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 475cf0d..1bf0915 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,11 +1,41 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, rgba32ui) uniform highp writeonly uimage1D arg_0;
+void textureStore_fb9a8f() {
+  imageStore(arg_0, 1, uvec4(1u));
+}
+void main() {
+  textureStore_fb9a8f();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:5: 'uimage1D' : Reserved word. 
+WARNING: 0:5: 'layout' : useless application of layout qualifier 
+ERROR: 0:5: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, rgba32ui) uniform highp writeonly uimage1D arg_0;
+void textureStore_fb9a8f() {
+  imageStore(arg_0, 1, uvec4(1u));
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  textureStore_fb9a8f();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:3: 'uimage1D' : Reserved word. 
+WARNING: 0:3: 'layout' : useless application of layout qualifier 
+ERROR: 0:3: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 475cf0d..334adad 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,11 +1,39 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 460
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, rg32f) uniform highp writeonly image3D arg_0;
+void textureStore_fcbe66() {
+  imageStore(arg_0, uvec3(1u), vec4(1.0f));
+}
+void main() {
+  textureStore_fcbe66();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:7: 'imageStore' : no matching overloaded function found 
+ERROR: 0:7: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 460
+
+layout(binding = 0, rg32f) uniform highp writeonly image3D arg_0;
+void textureStore_fcbe66() {
+  imageStore(arg_0, uvec3(1u), vec4(1.0f));
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  textureStore_fcbe66();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:5: 'imageStore' : no matching overloaded function found 
+ERROR: 0:5: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 85226b5..60c7daa 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: inputAttachmentLoad
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: inputAttachmentLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 85226b5..60c7daa 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: inputAttachmentLoad
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: inputAttachmentLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 85226b5..60c7daa 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: inputAttachmentLoad
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: inputAttachmentLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 c84b6e0..9ef6f52 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadBroadcast
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadBroadcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 c84b6e0..9ef6f52 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadBroadcast
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadBroadcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 c84b6e0..9ef6f52 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadBroadcast
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadBroadcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 c84b6e0..9ef6f52 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadBroadcast
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadBroadcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 c84b6e0..9ef6f52 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadBroadcast
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadBroadcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 c84b6e0..9ef6f52 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadBroadcast
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadBroadcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 c84b6e0..9ef6f52 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadBroadcast
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadBroadcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 c84b6e0..9ef6f52 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadBroadcast
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadBroadcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 c84b6e0..9ef6f52 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadBroadcast
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadBroadcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 c84b6e0..9ef6f52 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadBroadcast
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadBroadcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 c84b6e0..9ef6f52 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadBroadcast
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadBroadcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 c84b6e0..9ef6f52 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadBroadcast
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadBroadcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 c84b6e0..9ef6f52 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadBroadcast
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadBroadcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 c84b6e0..9ef6f52 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadBroadcast
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadBroadcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 c84b6e0..9ef6f52 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadBroadcast
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadBroadcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 c84b6e0..9ef6f52 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadBroadcast
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadBroadcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 c84b6e0..9ef6f52 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadBroadcast
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadBroadcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 c84b6e0..9ef6f52 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadBroadcast
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadBroadcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 c84b6e0..9ef6f52 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadBroadcast
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadBroadcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 c84b6e0..9ef6f52 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadBroadcast
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadBroadcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 c84b6e0..9ef6f52 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadBroadcast
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadBroadcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 c84b6e0..9ef6f52 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadBroadcast
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadBroadcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 c84b6e0..9ef6f52 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadBroadcast
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadBroadcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 c84b6e0..9ef6f52 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadBroadcast
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadBroadcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 c84b6e0..9ef6f52 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadBroadcast
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadBroadcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 c84b6e0..9ef6f52 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadBroadcast
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadBroadcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 c84b6e0..9ef6f52 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadBroadcast
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadBroadcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 c84b6e0..9ef6f52 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadBroadcast
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadBroadcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 c84b6e0..9ef6f52 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadBroadcast
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadBroadcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 c84b6e0..9ef6f52 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadBroadcast
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadBroadcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 c84b6e0..9ef6f52 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadBroadcast
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadBroadcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 c84b6e0..9ef6f52 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadBroadcast
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadBroadcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 6b1c98a..b2336d7 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadSwapDiagonal
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadSwapDiagonal
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 6b1c98a..b2336d7 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadSwapDiagonal
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadSwapDiagonal
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 6b1c98a..b2336d7 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadSwapDiagonal
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadSwapDiagonal
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 6b1c98a..b2336d7 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadSwapDiagonal
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadSwapDiagonal
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 6b1c98a..b2336d7 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadSwapDiagonal
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadSwapDiagonal
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 6b1c98a..b2336d7 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadSwapDiagonal
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadSwapDiagonal
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 6b1c98a..b2336d7 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadSwapDiagonal
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadSwapDiagonal
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 6b1c98a..b2336d7 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadSwapDiagonal
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadSwapDiagonal
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 6b1c98a..b2336d7 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadSwapDiagonal
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadSwapDiagonal
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 6b1c98a..b2336d7 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadSwapDiagonal
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadSwapDiagonal
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 6b1c98a..b2336d7 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadSwapDiagonal
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadSwapDiagonal
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 6b1c98a..b2336d7 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadSwapDiagonal
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadSwapDiagonal
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 6b1c98a..b2336d7 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadSwapDiagonal
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadSwapDiagonal
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 6b1c98a..b2336d7 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadSwapDiagonal
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadSwapDiagonal
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 6b1c98a..b2336d7 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadSwapDiagonal
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadSwapDiagonal
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 6b1c98a..b2336d7 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadSwapDiagonal
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadSwapDiagonal
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 af17c0e..8ecc7a5 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadSwapX
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadSwapX
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 af17c0e..8ecc7a5 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadSwapX
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadSwapX
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 af17c0e..8ecc7a5 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadSwapX
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadSwapX
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 af17c0e..8ecc7a5 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadSwapX
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadSwapX
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 af17c0e..8ecc7a5 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadSwapX
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadSwapX
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 af17c0e..8ecc7a5 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadSwapX
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadSwapX
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 af17c0e..8ecc7a5 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadSwapX
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadSwapX
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 af17c0e..8ecc7a5 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadSwapX
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadSwapX
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 af17c0e..8ecc7a5 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadSwapX
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadSwapX
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 af17c0e..8ecc7a5 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadSwapX
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadSwapX
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 af17c0e..8ecc7a5 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadSwapX
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadSwapX
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 af17c0e..8ecc7a5 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadSwapX
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadSwapX
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 af17c0e..8ecc7a5 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadSwapX
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadSwapX
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 af17c0e..8ecc7a5 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadSwapX
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadSwapX
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 af17c0e..8ecc7a5 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadSwapX
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadSwapX
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 af17c0e..8ecc7a5 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadSwapX
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadSwapX
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 fe822f2..618314b 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadSwapY
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadSwapY
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 fe822f2..618314b 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadSwapY
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadSwapY
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 fe822f2..618314b 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadSwapY
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadSwapY
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 fe822f2..618314b 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadSwapY
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadSwapY
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 fe822f2..618314b 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadSwapY
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadSwapY
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 fe822f2..618314b 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadSwapY
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadSwapY
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 fe822f2..618314b 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadSwapY
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadSwapY
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 fe822f2..618314b 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadSwapY
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadSwapY
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 fe822f2..618314b 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadSwapY
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadSwapY
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 fe822f2..618314b 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadSwapY
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadSwapY
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 fe822f2..618314b 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadSwapY
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadSwapY
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 fe822f2..618314b 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadSwapY
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadSwapY
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 fe822f2..618314b 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadSwapY
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadSwapY
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 fe822f2..618314b 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadSwapY
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadSwapY
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 fe822f2..618314b 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadSwapY
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadSwapY
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 fe822f2..618314b 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadSwapY
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadSwapY
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 b4466fd..514f51d 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupAdd
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupAdd
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 b4466fd..514f51d 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupAdd
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupAdd
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 b4466fd..514f51d 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupAdd
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupAdd
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 b4466fd..514f51d 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupAdd
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupAdd
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 b4466fd..514f51d 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupAdd
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupAdd
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 b4466fd..514f51d 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupAdd
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupAdd
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 b4466fd..514f51d 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupAdd
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupAdd
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 b4466fd..514f51d 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupAdd
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupAdd
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 b4466fd..514f51d 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupAdd
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupAdd
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 b4466fd..514f51d 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupAdd
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupAdd
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 b4466fd..514f51d 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupAdd
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupAdd
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 b4466fd..514f51d 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupAdd
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupAdd
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 b4466fd..514f51d 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupAdd
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupAdd
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 b4466fd..514f51d 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupAdd
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupAdd
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 b4466fd..514f51d 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupAdd
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupAdd
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 b4466fd..514f51d 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupAdd
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupAdd
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 e9ee43b..4aeec35 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupAll
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupAll
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 e3701fe..a80ba16 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupAnd
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupAnd
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 e3701fe..a80ba16 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupAnd
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupAnd
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 e3701fe..a80ba16 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupAnd
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupAnd
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 e3701fe..a80ba16 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupAnd
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupAnd
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 e3701fe..a80ba16 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupAnd
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupAnd
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 e3701fe..a80ba16 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupAnd
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupAnd
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 e3701fe..a80ba16 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupAnd
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupAnd
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 e3701fe..a80ba16 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupAnd
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupAnd
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 28aba69..a9dc0c7 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupAny
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupAny
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 ef69c1e..d1b910d 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBallot
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBallot
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 d8d0041..1e87ff3 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBroadcast
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBroadcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 d8d0041..1e87ff3 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBroadcast
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBroadcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 d8d0041..1e87ff3 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBroadcast
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBroadcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 d8d0041..1e87ff3 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBroadcast
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBroadcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 d8d0041..1e87ff3 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBroadcast
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBroadcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 d8d0041..1e87ff3 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBroadcast
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBroadcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 d8d0041..1e87ff3 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBroadcast
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBroadcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 d8d0041..1e87ff3 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBroadcast
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBroadcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 d8d0041..1e87ff3 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBroadcast
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBroadcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 d8d0041..1e87ff3 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBroadcast
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBroadcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 d8d0041..1e87ff3 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBroadcast
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBroadcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 d8d0041..1e87ff3 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBroadcast
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBroadcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 d8d0041..1e87ff3 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBroadcast
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBroadcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 d8d0041..1e87ff3 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBroadcast
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBroadcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 d8d0041..1e87ff3 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBroadcast
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBroadcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 d8d0041..1e87ff3 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBroadcast
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBroadcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 d8d0041..1e87ff3 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBroadcast
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBroadcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 d8d0041..1e87ff3 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBroadcast
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBroadcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 d8d0041..1e87ff3 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBroadcast
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBroadcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 d8d0041..1e87ff3 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBroadcast
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBroadcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 d8d0041..1e87ff3 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBroadcast
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBroadcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 d8d0041..1e87ff3 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBroadcast
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBroadcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 d8d0041..1e87ff3 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBroadcast
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBroadcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 d8d0041..1e87ff3 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBroadcast
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBroadcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 d8d0041..1e87ff3 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBroadcast
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBroadcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 d8d0041..1e87ff3 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBroadcast
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBroadcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 d8d0041..1e87ff3 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBroadcast
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBroadcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 d8d0041..1e87ff3 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBroadcast
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBroadcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 d8d0041..1e87ff3 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBroadcast
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBroadcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 d8d0041..1e87ff3 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBroadcast
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBroadcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 d8d0041..1e87ff3 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBroadcast
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBroadcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 d8d0041..1e87ff3 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBroadcast
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBroadcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 9f6bfc2..72b5d00 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBroadcastFirst
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBroadcastFirst
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 9f6bfc2..72b5d00 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBroadcastFirst
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBroadcastFirst
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 9f6bfc2..72b5d00 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBroadcastFirst
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBroadcastFirst
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 9f6bfc2..72b5d00 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBroadcastFirst
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBroadcastFirst
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 9f6bfc2..72b5d00 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBroadcastFirst
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBroadcastFirst
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 9f6bfc2..72b5d00 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBroadcastFirst
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBroadcastFirst
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 9f6bfc2..72b5d00 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBroadcastFirst
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBroadcastFirst
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 9f6bfc2..72b5d00 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBroadcastFirst
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBroadcastFirst
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 9f6bfc2..72b5d00 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBroadcastFirst
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBroadcastFirst
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 9f6bfc2..72b5d00 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBroadcastFirst
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBroadcastFirst
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 9f6bfc2..72b5d00 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBroadcastFirst
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBroadcastFirst
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 9f6bfc2..72b5d00 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBroadcastFirst
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBroadcastFirst
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 9f6bfc2..72b5d00 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBroadcastFirst
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBroadcastFirst
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 9f6bfc2..72b5d00 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBroadcastFirst
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBroadcastFirst
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 9f6bfc2..72b5d00 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBroadcastFirst
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBroadcastFirst
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 9f6bfc2..72b5d00 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBroadcastFirst
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBroadcastFirst
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 2ce44c1..d051020 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupElect
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupElect
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 5ee49c1..cec168c 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupExclusiveAdd
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupExclusiveAdd
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 5ee49c1..cec168c 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupExclusiveAdd
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupExclusiveAdd
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 5ee49c1..cec168c 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupExclusiveAdd
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupExclusiveAdd
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 5ee49c1..cec168c 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupExclusiveAdd
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupExclusiveAdd
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 5ee49c1..cec168c 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupExclusiveAdd
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupExclusiveAdd
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 5ee49c1..cec168c 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupExclusiveAdd
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupExclusiveAdd
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 5ee49c1..cec168c 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupExclusiveAdd
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupExclusiveAdd
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 5ee49c1..cec168c 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupExclusiveAdd
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupExclusiveAdd
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 5ee49c1..cec168c 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupExclusiveAdd
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupExclusiveAdd
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 5ee49c1..cec168c 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupExclusiveAdd
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupExclusiveAdd
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 5ee49c1..cec168c 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupExclusiveAdd
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupExclusiveAdd
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 5ee49c1..cec168c 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupExclusiveAdd
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupExclusiveAdd
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 5ee49c1..cec168c 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupExclusiveAdd
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupExclusiveAdd
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 5ee49c1..cec168c 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupExclusiveAdd
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupExclusiveAdd
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 5ee49c1..cec168c 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupExclusiveAdd
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupExclusiveAdd
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 5ee49c1..cec168c 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupExclusiveAdd
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupExclusiveAdd
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 d5fe702..aa7ebca 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupExclusiveMul
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupExclusiveMul
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 d5fe702..aa7ebca 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupExclusiveMul
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupExclusiveMul
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 d5fe702..aa7ebca 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupExclusiveMul
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupExclusiveMul
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 d5fe702..aa7ebca 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupExclusiveMul
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupExclusiveMul
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 d5fe702..aa7ebca 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupExclusiveMul
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupExclusiveMul
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 d5fe702..aa7ebca 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupExclusiveMul
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupExclusiveMul
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 d5fe702..aa7ebca 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupExclusiveMul
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupExclusiveMul
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 d5fe702..aa7ebca 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupExclusiveMul
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupExclusiveMul
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 d5fe702..aa7ebca 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupExclusiveMul
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupExclusiveMul
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 d5fe702..aa7ebca 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupExclusiveMul
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupExclusiveMul
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 d5fe702..aa7ebca 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupExclusiveMul
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupExclusiveMul
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 d5fe702..aa7ebca 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupExclusiveMul
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupExclusiveMul
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 d5fe702..aa7ebca 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupExclusiveMul
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupExclusiveMul
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 d5fe702..aa7ebca 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupExclusiveMul
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupExclusiveMul
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 d5fe702..aa7ebca 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupExclusiveMul
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupExclusiveMul
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 d5fe702..aa7ebca 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupExclusiveMul
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupExclusiveMul
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/subgroupInclusiveAdd/1b7680.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/subgroupInclusiveAdd/1b7680.wgsl.expected.ir.glsl
index 90be942..317d088 100644
--- a/test/tint/builtins/gen/var/subgroupInclusiveAdd/1b7680.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/subgroupInclusiveAdd/1b7680.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-../../src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupInclusiveAdd
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupInclusiveAdd
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/subgroupInclusiveAdd/367caa.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/subgroupInclusiveAdd/367caa.wgsl.expected.ir.glsl
index 90be942..317d088 100644
--- a/test/tint/builtins/gen/var/subgroupInclusiveAdd/367caa.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/subgroupInclusiveAdd/367caa.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-../../src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupInclusiveAdd
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupInclusiveAdd
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/subgroupInclusiveAdd/58ea3d.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/subgroupInclusiveAdd/58ea3d.wgsl.expected.ir.glsl
index 90be942..317d088 100644
--- a/test/tint/builtins/gen/var/subgroupInclusiveAdd/58ea3d.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/subgroupInclusiveAdd/58ea3d.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-../../src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupInclusiveAdd
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupInclusiveAdd
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/subgroupInclusiveAdd/7ed675.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/subgroupInclusiveAdd/7ed675.wgsl.expected.ir.glsl
index 90be942..317d088 100644
--- a/test/tint/builtins/gen/var/subgroupInclusiveAdd/7ed675.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/subgroupInclusiveAdd/7ed675.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-../../src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupInclusiveAdd
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupInclusiveAdd
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/subgroupInclusiveAdd/7f2040.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/subgroupInclusiveAdd/7f2040.wgsl.expected.ir.glsl
index 90be942..317d088 100644
--- a/test/tint/builtins/gen/var/subgroupInclusiveAdd/7f2040.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/subgroupInclusiveAdd/7f2040.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-../../src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupInclusiveAdd
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupInclusiveAdd
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/subgroupInclusiveAdd/8bbe75.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/subgroupInclusiveAdd/8bbe75.wgsl.expected.ir.glsl
index 90be942..317d088 100644
--- a/test/tint/builtins/gen/var/subgroupInclusiveAdd/8bbe75.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/subgroupInclusiveAdd/8bbe75.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-../../src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupInclusiveAdd
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupInclusiveAdd
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/subgroupInclusiveAdd/9bbcb0.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/subgroupInclusiveAdd/9bbcb0.wgsl.expected.ir.glsl
index 90be942..317d088 100644
--- a/test/tint/builtins/gen/var/subgroupInclusiveAdd/9bbcb0.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/subgroupInclusiveAdd/9bbcb0.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-../../src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupInclusiveAdd
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupInclusiveAdd
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/subgroupInclusiveAdd/a7c60f.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/subgroupInclusiveAdd/a7c60f.wgsl.expected.ir.glsl
index 90be942..317d088 100644
--- a/test/tint/builtins/gen/var/subgroupInclusiveAdd/a7c60f.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/subgroupInclusiveAdd/a7c60f.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-../../src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupInclusiveAdd
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupInclusiveAdd
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/subgroupInclusiveAdd/b787ce.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/subgroupInclusiveAdd/b787ce.wgsl.expected.ir.glsl
index 90be942..317d088 100644
--- a/test/tint/builtins/gen/var/subgroupInclusiveAdd/b787ce.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/subgroupInclusiveAdd/b787ce.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-../../src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupInclusiveAdd
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupInclusiveAdd
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/subgroupInclusiveAdd/c816b2.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/subgroupInclusiveAdd/c816b2.wgsl.expected.ir.glsl
index 90be942..317d088 100644
--- a/test/tint/builtins/gen/var/subgroupInclusiveAdd/c816b2.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/subgroupInclusiveAdd/c816b2.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-../../src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupInclusiveAdd
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupInclusiveAdd
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/subgroupInclusiveAdd/dde86f.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/subgroupInclusiveAdd/dde86f.wgsl.expected.ir.glsl
index 90be942..317d088 100644
--- a/test/tint/builtins/gen/var/subgroupInclusiveAdd/dde86f.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/subgroupInclusiveAdd/dde86f.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-../../src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupInclusiveAdd
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupInclusiveAdd
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/subgroupInclusiveAdd/df692b.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/subgroupInclusiveAdd/df692b.wgsl.expected.ir.glsl
index 90be942..317d088 100644
--- a/test/tint/builtins/gen/var/subgroupInclusiveAdd/df692b.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/subgroupInclusiveAdd/df692b.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-../../src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupInclusiveAdd
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupInclusiveAdd
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/subgroupInclusiveAdd/e18ebb.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/subgroupInclusiveAdd/e18ebb.wgsl.expected.ir.glsl
index 90be942..317d088 100644
--- a/test/tint/builtins/gen/var/subgroupInclusiveAdd/e18ebb.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/subgroupInclusiveAdd/e18ebb.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-../../src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupInclusiveAdd
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupInclusiveAdd
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/subgroupInclusiveAdd/f43b30.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/subgroupInclusiveAdd/f43b30.wgsl.expected.ir.glsl
index 90be942..317d088 100644
--- a/test/tint/builtins/gen/var/subgroupInclusiveAdd/f43b30.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/subgroupInclusiveAdd/f43b30.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-../../src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupInclusiveAdd
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupInclusiveAdd
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/subgroupInclusiveAdd/f8906d.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/subgroupInclusiveAdd/f8906d.wgsl.expected.ir.glsl
index 90be942..317d088 100644
--- a/test/tint/builtins/gen/var/subgroupInclusiveAdd/f8906d.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/subgroupInclusiveAdd/f8906d.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-../../src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupInclusiveAdd
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupInclusiveAdd
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/subgroupInclusiveAdd/fabbde.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/subgroupInclusiveAdd/fabbde.wgsl.expected.ir.glsl
index 90be942..317d088 100644
--- a/test/tint/builtins/gen/var/subgroupInclusiveAdd/fabbde.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/subgroupInclusiveAdd/fabbde.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-../../src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupInclusiveAdd
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupInclusiveAdd
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/subgroupInclusiveMul/01dc9b.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/subgroupInclusiveMul/01dc9b.wgsl.expected.ir.glsl
index e0b73f0..b632826 100644
--- a/test/tint/builtins/gen/var/subgroupInclusiveMul/01dc9b.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/subgroupInclusiveMul/01dc9b.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-../../src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupInclusiveMul
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupInclusiveMul
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/subgroupInclusiveMul/10a1ef.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/subgroupInclusiveMul/10a1ef.wgsl.expected.ir.glsl
index e0b73f0..b632826 100644
--- a/test/tint/builtins/gen/var/subgroupInclusiveMul/10a1ef.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/subgroupInclusiveMul/10a1ef.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-../../src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupInclusiveMul
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupInclusiveMul
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/subgroupInclusiveMul/1cdf5c.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/subgroupInclusiveMul/1cdf5c.wgsl.expected.ir.glsl
index e0b73f0..b632826 100644
--- a/test/tint/builtins/gen/var/subgroupInclusiveMul/1cdf5c.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/subgroupInclusiveMul/1cdf5c.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-../../src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupInclusiveMul
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupInclusiveMul
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/subgroupInclusiveMul/2a7ec7.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/subgroupInclusiveMul/2a7ec7.wgsl.expected.ir.glsl
index e0b73f0..b632826 100644
--- a/test/tint/builtins/gen/var/subgroupInclusiveMul/2a7ec7.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/subgroupInclusiveMul/2a7ec7.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-../../src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupInclusiveMul
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupInclusiveMul
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/subgroupInclusiveMul/2f8076.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/subgroupInclusiveMul/2f8076.wgsl.expected.ir.glsl
index e0b73f0..b632826 100644
--- a/test/tint/builtins/gen/var/subgroupInclusiveMul/2f8076.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/subgroupInclusiveMul/2f8076.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-../../src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupInclusiveMul
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupInclusiveMul
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/subgroupInclusiveMul/359176.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/subgroupInclusiveMul/359176.wgsl.expected.ir.glsl
index e0b73f0..b632826 100644
--- a/test/tint/builtins/gen/var/subgroupInclusiveMul/359176.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/subgroupInclusiveMul/359176.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-../../src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupInclusiveMul
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupInclusiveMul
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/subgroupInclusiveMul/4430d5.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/subgroupInclusiveMul/4430d5.wgsl.expected.ir.glsl
index e0b73f0..b632826 100644
--- a/test/tint/builtins/gen/var/subgroupInclusiveMul/4430d5.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/subgroupInclusiveMul/4430d5.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-../../src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupInclusiveMul
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupInclusiveMul
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/subgroupInclusiveMul/517979.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/subgroupInclusiveMul/517979.wgsl.expected.ir.glsl
index e0b73f0..b632826 100644
--- a/test/tint/builtins/gen/var/subgroupInclusiveMul/517979.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/subgroupInclusiveMul/517979.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-../../src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupInclusiveMul
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupInclusiveMul
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/subgroupInclusiveMul/69326e.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/subgroupInclusiveMul/69326e.wgsl.expected.ir.glsl
index e0b73f0..b632826 100644
--- a/test/tint/builtins/gen/var/subgroupInclusiveMul/69326e.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/subgroupInclusiveMul/69326e.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-../../src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupInclusiveMul
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupInclusiveMul
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/subgroupInclusiveMul/769def.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/subgroupInclusiveMul/769def.wgsl.expected.ir.glsl
index e0b73f0..b632826 100644
--- a/test/tint/builtins/gen/var/subgroupInclusiveMul/769def.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/subgroupInclusiveMul/769def.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-../../src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupInclusiveMul
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupInclusiveMul
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/subgroupInclusiveMul/7978b8.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/subgroupInclusiveMul/7978b8.wgsl.expected.ir.glsl
index e0b73f0..b632826 100644
--- a/test/tint/builtins/gen/var/subgroupInclusiveMul/7978b8.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/subgroupInclusiveMul/7978b8.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-../../src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupInclusiveMul
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupInclusiveMul
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/subgroupInclusiveMul/89437b.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/subgroupInclusiveMul/89437b.wgsl.expected.ir.glsl
index e0b73f0..b632826 100644
--- a/test/tint/builtins/gen/var/subgroupInclusiveMul/89437b.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/subgroupInclusiveMul/89437b.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-../../src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupInclusiveMul
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupInclusiveMul
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/subgroupInclusiveMul/9a54ec.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/subgroupInclusiveMul/9a54ec.wgsl.expected.ir.glsl
index e0b73f0..b632826 100644
--- a/test/tint/builtins/gen/var/subgroupInclusiveMul/9a54ec.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/subgroupInclusiveMul/9a54ec.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-../../src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupInclusiveMul
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupInclusiveMul
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/subgroupInclusiveMul/ac5df5.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/subgroupInclusiveMul/ac5df5.wgsl.expected.ir.glsl
index e0b73f0..b632826 100644
--- a/test/tint/builtins/gen/var/subgroupInclusiveMul/ac5df5.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/subgroupInclusiveMul/ac5df5.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-../../src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupInclusiveMul
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupInclusiveMul
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/subgroupInclusiveMul/dada1d.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/subgroupInclusiveMul/dada1d.wgsl.expected.ir.glsl
index e0b73f0..b632826 100644
--- a/test/tint/builtins/gen/var/subgroupInclusiveMul/dada1d.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/subgroupInclusiveMul/dada1d.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-../../src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupInclusiveMul
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupInclusiveMul
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/subgroupInclusiveMul/e713f5.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/subgroupInclusiveMul/e713f5.wgsl.expected.ir.glsl
index e0b73f0..b632826 100644
--- a/test/tint/builtins/gen/var/subgroupInclusiveMul/e713f5.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/subgroupInclusiveMul/e713f5.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-../../src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupInclusiveMul
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupInclusiveMul
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the 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 6188c77..e03ab331 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupMax
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupMax
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 6188c77..e03ab331 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupMax
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupMax
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 6188c77..e03ab331 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupMax
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupMax
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 6188c77..e03ab331 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupMax
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupMax
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 6188c77..e03ab331 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupMax
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupMax
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 6188c77..e03ab331 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupMax
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupMax
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 6188c77..e03ab331 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupMax
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupMax
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 6188c77..e03ab331 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupMax
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupMax
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 6188c77..e03ab331 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupMax
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupMax
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 6188c77..e03ab331 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupMax
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupMax
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 6188c77..e03ab331 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupMax
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupMax
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 6188c77..e03ab331 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupMax
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupMax
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 6188c77..e03ab331 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupMax
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupMax
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 6188c77..e03ab331 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupMax
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupMax
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 6188c77..e03ab331 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupMax
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupMax
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 6188c77..e03ab331 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupMax
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupMax
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 2c7939a..03609f2 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupMin
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupMin
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 2c7939a..03609f2 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupMin
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupMin
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 2c7939a..03609f2 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupMin
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupMin
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 2c7939a..03609f2 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupMin
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupMin
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 2c7939a..03609f2 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupMin
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupMin
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 2c7939a..03609f2 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupMin
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupMin
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 2c7939a..03609f2 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupMin
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupMin
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 2c7939a..03609f2 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupMin
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupMin
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 2c7939a..03609f2 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupMin
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupMin
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 2c7939a..03609f2 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupMin
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupMin
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 2c7939a..03609f2 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupMin
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupMin
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 2c7939a..03609f2 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupMin
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupMin
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 2c7939a..03609f2 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupMin
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupMin
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 2c7939a..03609f2 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupMin
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupMin
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 2c7939a..03609f2 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupMin
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupMin
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 2c7939a..03609f2 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupMin
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupMin
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 6c10f1b..58a9671 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupMul
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupMul
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 6c10f1b..58a9671 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupMul
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupMul
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 6c10f1b..58a9671 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupMul
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupMul
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 6c10f1b..58a9671 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupMul
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupMul
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 6c10f1b..58a9671 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupMul
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupMul
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 6c10f1b..58a9671 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupMul
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupMul
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 6c10f1b..58a9671 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupMul
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupMul
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 6c10f1b..58a9671 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupMul
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupMul
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 6c10f1b..58a9671 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupMul
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupMul
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 6c10f1b..58a9671 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupMul
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupMul
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 6c10f1b..58a9671 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupMul
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupMul
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 6c10f1b..58a9671 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupMul
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupMul
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 6c10f1b..58a9671 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupMul
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupMul
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 6c10f1b..58a9671 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupMul
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupMul
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 6c10f1b..58a9671 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupMul
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupMul
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 6c10f1b..58a9671 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupMul
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupMul
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 049c191..bb830ec 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupOr
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupOr
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 049c191..bb830ec 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupOr
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupOr
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 049c191..bb830ec 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupOr
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupOr
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 049c191..bb830ec 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupOr
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupOr
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 049c191..bb830ec 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupOr
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupOr
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 049c191..bb830ec 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupOr
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupOr
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 049c191..bb830ec 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupOr
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupOr
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 049c191..bb830ec 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupOr
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupOr
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 6a828f7..e000359 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffle
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffle
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 6a828f7..e000359 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffle
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffle
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 6a828f7..e000359 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffle
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffle
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 6a828f7..e000359 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffle
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffle
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 6a828f7..e000359 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffle
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffle
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 6a828f7..e000359 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffle
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffle
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 6a828f7..e000359 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffle
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffle
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 6a828f7..e000359 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffle
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffle
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 6a828f7..e000359 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffle
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffle
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 6a828f7..e000359 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffle
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffle
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 6a828f7..e000359 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffle
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffle
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 6a828f7..e000359 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffle
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffle
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 6a828f7..e000359 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffle
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffle
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 6a828f7..e000359 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffle
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffle
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 6a828f7..e000359 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffle
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffle
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 6a828f7..e000359 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffle
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffle
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 6a828f7..e000359 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffle
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffle
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 6a828f7..e000359 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffle
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffle
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 6a828f7..e000359 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffle
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffle
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 6a828f7..e000359 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffle
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffle
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 6a828f7..e000359 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffle
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffle
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 6a828f7..e000359 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffle
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffle
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 6a828f7..e000359 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffle
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffle
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 6a828f7..e000359 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffle
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffle
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 6a828f7..e000359 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffle
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffle
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 6a828f7..e000359 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffle
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffle
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 6a828f7..e000359 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffle
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffle
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 6a828f7..e000359 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffle
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffle
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 6a828f7..e000359 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffle
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffle
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 6a828f7..e000359 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffle
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffle
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 6a828f7..e000359 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffle
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffle
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 6a828f7..e000359 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffle
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffle
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 ac7e1fb..3488cb2 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffleDown
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffleDown
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 ac7e1fb..3488cb2 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffleDown
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffleDown
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 ac7e1fb..3488cb2 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffleDown
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffleDown
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 ac7e1fb..3488cb2 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffleDown
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffleDown
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 ac7e1fb..3488cb2 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffleDown
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffleDown
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 ac7e1fb..3488cb2 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffleDown
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffleDown
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 ac7e1fb..3488cb2 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffleDown
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffleDown
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 ac7e1fb..3488cb2 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffleDown
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffleDown
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 ac7e1fb..3488cb2 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffleDown
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffleDown
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 ac7e1fb..3488cb2 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffleDown
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffleDown
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 ac7e1fb..3488cb2 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffleDown
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffleDown
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 ac7e1fb..3488cb2 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffleDown
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffleDown
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 ac7e1fb..3488cb2 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffleDown
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffleDown
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 ac7e1fb..3488cb2 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffleDown
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffleDown
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 ac7e1fb..3488cb2 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffleDown
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffleDown
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 ac7e1fb..3488cb2 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffleDown
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffleDown
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 c514103..557c135 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffleUp
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffleUp
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 c514103..557c135 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffleUp
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffleUp
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 c514103..557c135 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffleUp
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffleUp
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 c514103..557c135 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffleUp
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffleUp
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 c514103..557c135 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffleUp
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffleUp
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 c514103..557c135 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffleUp
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffleUp
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 c514103..557c135 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffleUp
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffleUp
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 c514103..557c135 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffleUp
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffleUp
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 c514103..557c135 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffleUp
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffleUp
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 c514103..557c135 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffleUp
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffleUp
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 c514103..557c135 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffleUp
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffleUp
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 c514103..557c135 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffleUp
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffleUp
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 c514103..557c135 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffleUp
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffleUp
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 c514103..557c135 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffleUp
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffleUp
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 c514103..557c135 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffleUp
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffleUp
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 c514103..557c135 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffleUp
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffleUp
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 f6a1415..738403f 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffleXor
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffleXor
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 f6a1415..738403f 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffleXor
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffleXor
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 f6a1415..738403f 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffleXor
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffleXor
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 f6a1415..738403f 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffleXor
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffleXor
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 f6a1415..738403f 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffleXor
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffleXor
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 f6a1415..738403f 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffleXor
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffleXor
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 f6a1415..738403f 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffleXor
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffleXor
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 f6a1415..738403f 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffleXor
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffleXor
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 f6a1415..738403f 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffleXor
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffleXor
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 f6a1415..738403f 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffleXor
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffleXor
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 f6a1415..738403f 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffleXor
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffleXor
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 f6a1415..738403f 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffleXor
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffleXor
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 f6a1415..738403f 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffleXor
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffleXor
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 f6a1415..738403f 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffleXor
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffleXor
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 f6a1415..738403f 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffleXor
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffleXor
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 f6a1415..738403f 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffleXor
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffleXor
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 dbea58e..3c92d03 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupXor
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupXor
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 dbea58e..3c92d03 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupXor
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupXor
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 dbea58e..3c92d03 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupXor
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupXor
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 dbea58e..3c92d03 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupXor
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupXor
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 dbea58e..3c92d03 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupXor
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupXor
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 dbea58e..3c92d03 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupXor
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupXor
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 dbea58e..3c92d03 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupXor
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupXor
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 dbea58e..3c92d03 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupXor
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupXor
 ********************************************************************
 *  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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 2696751..69dd377 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
@@ -11,8 +11,7 @@
 uniform highp isampler1D arg_0;
 uint textureDimensions_022903() {
   uint arg_1 = 1u;
-  highp isampler1D v_1 = arg_0;
-  uint res = uint(textureSize(v_1, int(arg_1)));
+  uint res = uint(textureSize(arg_0, int(arg_1)));
   return res;
 }
 void main() {
@@ -34,8 +33,7 @@
 uniform highp isampler1D arg_0;
 uint textureDimensions_022903() {
   uint arg_1 = 1u;
-  highp isampler1D v_1 = arg_0;
-  uint res = uint(textureSize(v_1, int(arg_1)));
+  uint res = uint(textureSize(arg_0, int(arg_1)));
   return res;
 }
 layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
@@ -61,8 +59,7 @@
 layout(location = 0) flat out uint vertex_main_loc0_Output;
 uint textureDimensions_022903() {
   uint arg_1 = 1u;
-  highp isampler1D v = arg_0;
-  uint res = uint(textureSize(v, int(arg_1)));
+  uint res = uint(textureSize(arg_0, int(arg_1)));
   return res;
 }
 VertexOutput vertex_main_inner() {
@@ -72,11 +69,11 @@
   return tint_symbol;
 }
 void main() {
-  VertexOutput v_1 = vertex_main_inner();
-  gl_Position = v_1.pos;
+  VertexOutput v = vertex_main_inner();
+  gl_Position = v.pos;
   gl_Position[1u] = -(gl_Position.y);
   gl_Position[2u] = ((2.0f * gl_Position.z) - gl_Position.w);
-  vertex_main_loc0_Output = v_1.prevent_dce;
+  vertex_main_loc0_Output = v.prevent_dce;
   gl_PointSize = 1.0f;
 }
 error: Error parsing GLSL shader:
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 3910173..13a27a1 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,11 +1,87 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:994 internal compiler error: bgra8unorm should have been polyfilled to rgba8unorm
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  uint tint_symbol;
+} v;
+layout(binding = 0, rgba8) uniform highp readonly image1D arg_0;
+uint textureDimensions_2bafdf() {
+  uint res = uint(imageSize(arg_0));
+  return res;
+}
+void main() {
+  v.tint_symbol = textureDimensions_2bafdf();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:9: 'image1D' : Reserved word. 
+WARNING: 0:9: 'layout' : useless application of layout qualifier 
+ERROR: 0:9: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  uint tint_symbol;
+} v;
+layout(binding = 0, rgba8) uniform highp readonly image1D arg_0;
+uint textureDimensions_2bafdf() {
+  uint res = uint(imageSize(arg_0));
+  return res;
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  v.tint_symbol = textureDimensions_2bafdf();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:7: 'image1D' : Reserved word. 
+WARNING: 0:7: 'layout' : useless application of layout qualifier 
+ERROR: 0:7: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+
+struct VertexOutput {
+  vec4 pos;
+  uint prevent_dce;
+};
+
+layout(binding = 0, rgba8) uniform highp readonly image1D arg_0;
+layout(location = 0) flat out uint vertex_main_loc0_Output;
+uint textureDimensions_2bafdf() {
+  uint res = uint(imageSize(arg_0));
+  return res;
+}
+VertexOutput vertex_main_inner() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0u);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = textureDimensions_2bafdf();
+  return tint_symbol;
+}
+void main() {
+  VertexOutput v = vertex_main_inner();
+  gl_Position = v.pos;
+  gl_Position[1u] = -(gl_Position.y);
+  gl_Position[2u] = ((2.0f * gl_Position.z) - gl_Position.w);
+  vertex_main_loc0_Output = v.prevent_dce;
+  gl_PointSize = 1.0f;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:9: 'image1D' : Reserved word. 
+WARNING: 0:9: 'layout' : useless application of layout qualifier 
+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/textureDimensions/325338.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureDimensions/325338.wgsl.expected.ir.glsl
index 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 023772f..6338d00 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:994 internal compiler error: bgra8unorm should have been polyfilled to rgba8unorm
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 023772f..6338d00 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:994 internal compiler error: bgra8unorm should have been polyfilled to rgba8unorm
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 023772f..6338d00 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:994 internal compiler error: bgra8unorm should have been polyfilled to rgba8unorm
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 023772f..6338d00 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:994 internal compiler error: bgra8unorm should have been polyfilled to rgba8unorm
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 3910173..e005440 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,11 +1,51 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:994 internal compiler error: bgra8unorm should have been polyfilled to rgba8unorm
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  uint tint_symbol;
+} v;
+layout(binding = 0, rgba8) uniform highp writeonly image1D arg_0;
+uint textureDimensions_84f363() {
+  uint res = uint(imageSize(arg_0));
+  return res;
+}
+void main() {
+  v.tint_symbol = textureDimensions_84f363();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:9: 'image1D' : Reserved word. 
+WARNING: 0:9: 'layout' : useless application of layout qualifier 
+ERROR: 0:9: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  uint tint_symbol;
+} v;
+layout(binding = 0, rgba8) uniform highp writeonly image1D arg_0;
+uint textureDimensions_84f363() {
+  uint res = uint(imageSize(arg_0));
+  return res;
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  v.tint_symbol = textureDimensions_84f363();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:7: 'image1D' : Reserved word. 
+WARNING: 0:7: 'layout' : useless application of layout qualifier 
+ERROR: 0:7: '' : 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/8a2b17.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureDimensions/8a2b17.wgsl.expected.ir.glsl
index 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 b9f9c56..5a3052b 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
@@ -11,8 +11,7 @@
 uniform highp usampler1D arg_0;
 uint textureDimensions_9c7a00() {
   uint arg_1 = 1u;
-  highp usampler1D v_1 = arg_0;
-  uint res = uint(textureSize(v_1, int(arg_1)));
+  uint res = uint(textureSize(arg_0, int(arg_1)));
   return res;
 }
 void main() {
@@ -34,8 +33,7 @@
 uniform highp usampler1D arg_0;
 uint textureDimensions_9c7a00() {
   uint arg_1 = 1u;
-  highp usampler1D v_1 = arg_0;
-  uint res = uint(textureSize(v_1, int(arg_1)));
+  uint res = uint(textureSize(arg_0, int(arg_1)));
   return res;
 }
 layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
@@ -61,8 +59,7 @@
 layout(location = 0) flat out uint vertex_main_loc0_Output;
 uint textureDimensions_9c7a00() {
   uint arg_1 = 1u;
-  highp usampler1D v = arg_0;
-  uint res = uint(textureSize(v, int(arg_1)));
+  uint res = uint(textureSize(arg_0, int(arg_1)));
   return res;
 }
 VertexOutput vertex_main_inner() {
@@ -72,11 +69,11 @@
   return tint_symbol;
 }
 void main() {
-  VertexOutput v_1 = vertex_main_inner();
-  gl_Position = v_1.pos;
+  VertexOutput v = vertex_main_inner();
+  gl_Position = v.pos;
   gl_Position[1u] = -(gl_Position.y);
   gl_Position[2u] = ((2.0f * gl_Position.z) - gl_Position.w);
-  vertex_main_loc0_Output = v_1.prevent_dce;
+  vertex_main_loc0_Output = v.prevent_dce;
   gl_PointSize = 1.0f;
 }
 error: Error parsing GLSL shader:
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 20fa45d..135e7c8 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
@@ -11,8 +11,7 @@
 uniform highp sampler1D arg_0;
 uint textureDimensions_aac604() {
   uint arg_1 = 1u;
-  highp sampler1D v_1 = arg_0;
-  uint res = uint(textureSize(v_1, int(arg_1)));
+  uint res = uint(textureSize(arg_0, int(arg_1)));
   return res;
 }
 void main() {
@@ -34,8 +33,7 @@
 uniform highp sampler1D arg_0;
 uint textureDimensions_aac604() {
   uint arg_1 = 1u;
-  highp sampler1D v_1 = arg_0;
-  uint res = uint(textureSize(v_1, int(arg_1)));
+  uint res = uint(textureSize(arg_0, int(arg_1)));
   return res;
 }
 layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
@@ -61,8 +59,7 @@
 layout(location = 0) flat out uint vertex_main_loc0_Output;
 uint textureDimensions_aac604() {
   uint arg_1 = 1u;
-  highp sampler1D v = arg_0;
-  uint res = uint(textureSize(v, int(arg_1)));
+  uint res = uint(textureSize(arg_0, int(arg_1)));
   return res;
 }
 VertexOutput vertex_main_inner() {
@@ -72,11 +69,11 @@
   return tint_symbol;
 }
 void main() {
-  VertexOutput v_1 = vertex_main_inner();
-  gl_Position = v_1.pos;
+  VertexOutput v = vertex_main_inner();
+  gl_Position = v.pos;
   gl_Position[1u] = -(gl_Position.y);
   gl_Position[2u] = ((2.0f * gl_Position.z) - gl_Position.w);
-  vertex_main_loc0_Output = v_1.prevent_dce;
+  vertex_main_loc0_Output = v.prevent_dce;
   gl_PointSize = 1.0f;
 }
 error: Error parsing GLSL shader:
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 e710f72..0bd3a3d 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGather
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGather
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 e710f72..0bd3a3d 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGather
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGather
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 e710f72..0bd3a3d 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGather
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGather
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 e710f72..0bd3a3d 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGather
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGather
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 e710f72..0bd3a3d 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGather
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGather
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 e710f72..0bd3a3d 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGather
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGather
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 e710f72..0bd3a3d 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGather
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGather
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 e710f72..0bd3a3d 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGather
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGather
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 e710f72..0bd3a3d 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGather
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGather
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 e710f72..0bd3a3d 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGather
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGather
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 e710f72..0bd3a3d 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGather
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGather
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 e710f72..0bd3a3d 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGather
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGather
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 e710f72..0bd3a3d 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGather
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGather
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 e710f72..0bd3a3d 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGather
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGather
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 e710f72..0bd3a3d 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGather
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGather
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 e710f72..0bd3a3d 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGather
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGather
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 e710f72..0bd3a3d 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGather
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGather
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 e710f72..0bd3a3d 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGather
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGather
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 e710f72..0bd3a3d 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGather
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGather
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 e710f72..0bd3a3d 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGather
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGather
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 e710f72..0bd3a3d 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGather
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGather
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 e710f72..0bd3a3d 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGather
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGather
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 e710f72..0bd3a3d 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGather
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGather
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 e710f72..0bd3a3d 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGather
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGather
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 e710f72..0bd3a3d 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGather
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGather
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 e710f72..0bd3a3d 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGather
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGather
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 e710f72..0bd3a3d 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGather
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGather
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 e710f72..0bd3a3d 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGather
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGather
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 e710f72..0bd3a3d 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGather
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGather
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 e710f72..0bd3a3d 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGather
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGather
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 e710f72..0bd3a3d 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGather
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGather
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 e710f72..0bd3a3d 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGather
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGather
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 e710f72..0bd3a3d 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGather
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGather
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 e710f72..0bd3a3d 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGather
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGather
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 e710f72..0bd3a3d 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGather
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGather
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 e710f72..0bd3a3d 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGather
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGather
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 e710f72..0bd3a3d 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGather
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGather
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 e710f72..0bd3a3d 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGather
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGather
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 e710f72..0bd3a3d 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGather
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGather
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 e710f72..0bd3a3d 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGather
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGather
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 e710f72..0bd3a3d 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGather
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGather
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 e710f72..0bd3a3d 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGather
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGather
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 e710f72..0bd3a3d 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGather
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGather
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 e710f72..0bd3a3d 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGather
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGather
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 e710f72..0bd3a3d 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGather
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGather
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 e710f72..0bd3a3d 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGather
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGather
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 e710f72..0bd3a3d 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGather
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGather
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 e710f72..0bd3a3d 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGather
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGather
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 e710f72..0bd3a3d 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGather
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGather
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 e710f72..0bd3a3d 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGather
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGather
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 e710f72..0bd3a3d 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGather
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGather
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 e710f72..0bd3a3d 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGather
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGather
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 e710f72..0bd3a3d 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGather
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGather
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 e710f72..0bd3a3d 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGather
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGather
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 e710f72..0bd3a3d 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGather
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGather
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 e710f72..0bd3a3d 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGather
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGather
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 e710f72..0bd3a3d 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGather
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGather
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 e710f72..0bd3a3d 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGather
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGather
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 e710f72..0bd3a3d 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGather
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGather
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 e710f72..0bd3a3d 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGather
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGather
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 e710f72..0bd3a3d 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGather
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGather
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 e710f72..0bd3a3d 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGather
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGather
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 e710f72..0bd3a3d 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGather
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGather
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 66a0703..17775c4 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGatherCompare
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGatherCompare
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 66a0703..17775c4 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGatherCompare
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGatherCompare
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 66a0703..17775c4 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGatherCompare
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGatherCompare
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 66a0703..17775c4 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGatherCompare
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGatherCompare
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 66a0703..17775c4 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGatherCompare
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGatherCompare
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 66a0703..17775c4 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGatherCompare
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGatherCompare
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 66a0703..17775c4 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGatherCompare
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGatherCompare
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 66a0703..17775c4 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGatherCompare
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGatherCompare
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 66a0703..17775c4 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGatherCompare
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGatherCompare
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 b475b2e..928ec74 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
+<dawn>/src/tint/lang/glsl/writer/raise/builtin_polyfill.cc:469 internal compiler error: TINT_ASSERT(!tex->Type()->Is<core::type::DepthTexture>())
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 b475b2e..474bafc 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,11 +1,96 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  ivec4 tint_symbol;
+} v;
+uniform highp isampler1D arg_0;
+ivec4 textureLoad_0cb698() {
+  uint arg_1 = 1u;
+  uint arg_2 = 1u;
+  uint v_1 = arg_2;
+  int v_2 = int(arg_1);
+  ivec4 res = texelFetch(arg_0, v_2, int(v_1));
+  return res;
+}
+void main() {
+  v.tint_symbol = textureLoad_0cb698();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:9: 'isampler1D' : Reserved word. 
+ERROR: 0:9: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  ivec4 tint_symbol;
+} v;
+uniform highp isampler1D arg_0;
+ivec4 textureLoad_0cb698() {
+  uint arg_1 = 1u;
+  uint arg_2 = 1u;
+  uint v_1 = arg_2;
+  int v_2 = int(arg_1);
+  ivec4 res = texelFetch(arg_0, v_2, int(v_1));
+  return res;
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  v.tint_symbol = textureLoad_0cb698();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:7: 'isampler1D' : Reserved word. 
+ERROR: 0:7: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+
+struct VertexOutput {
+  vec4 pos;
+  ivec4 prevent_dce;
+};
+
+uniform highp isampler1D arg_0;
+layout(location = 0) flat out ivec4 vertex_main_loc0_Output;
+ivec4 textureLoad_0cb698() {
+  uint arg_1 = 1u;
+  uint arg_2 = 1u;
+  uint v = arg_2;
+  int v_1 = int(arg_1);
+  ivec4 res = texelFetch(arg_0, v_1, int(v));
+  return res;
+}
+VertexOutput vertex_main_inner() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), ivec4(0));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = textureLoad_0cb698();
+  return tint_symbol;
+}
+void main() {
+  VertexOutput v_2 = vertex_main_inner();
+  gl_Position = v_2.pos;
+  gl_Position[1u] = -(gl_Position.y);
+  gl_Position[2u] = ((2.0f * gl_Position.z) - gl_Position.w);
+  vertex_main_loc0_Output = v_2.prevent_dce;
+  gl_PointSize = 1.0f;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:9: 'isampler1D' : Reserved word. 
+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/textureLoad/1373dc.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/1373dc.wgsl.expected.ir.glsl
index b475b2e..cdd9df7 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,11 +1,96 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  vec4 tint_symbol;
+} v;
+uniform highp sampler1D arg_0;
+vec4 textureLoad_1373dc() {
+  uint arg_1 = 1u;
+  int arg_2 = 1;
+  int v_1 = arg_2;
+  int v_2 = int(arg_1);
+  vec4 res = texelFetch(arg_0, v_2, int(v_1));
+  return res;
+}
+void main() {
+  v.tint_symbol = textureLoad_1373dc();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:9: 'sampler1D' : Reserved word. 
+ERROR: 0:9: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  vec4 tint_symbol;
+} v;
+uniform highp sampler1D arg_0;
+vec4 textureLoad_1373dc() {
+  uint arg_1 = 1u;
+  int arg_2 = 1;
+  int v_1 = arg_2;
+  int v_2 = int(arg_1);
+  vec4 res = texelFetch(arg_0, v_2, int(v_1));
+  return res;
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  v.tint_symbol = textureLoad_1373dc();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:7: 'sampler1D' : Reserved word. 
+ERROR: 0:7: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+uniform highp sampler1D arg_0;
+layout(location = 0) flat out vec4 vertex_main_loc0_Output;
+vec4 textureLoad_1373dc() {
+  uint arg_1 = 1u;
+  int arg_2 = 1;
+  int v = arg_2;
+  int v_1 = int(arg_1);
+  vec4 res = texelFetch(arg_0, v_1, int(v));
+  return res;
+}
+VertexOutput vertex_main_inner() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = textureLoad_1373dc();
+  return tint_symbol;
+}
+void main() {
+  VertexOutput v_2 = vertex_main_inner();
+  gl_Position = v_2.pos;
+  gl_Position[1u] = -(gl_Position.y);
+  gl_Position[2u] = ((2.0f * gl_Position.z) - gl_Position.w);
+  vertex_main_loc0_Output = v_2.prevent_dce;
+  gl_PointSize = 1.0f;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:9: 'sampler1D' : Reserved word. 
+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/textureLoad/14cc4c.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/14cc4c.wgsl.expected.ir.glsl
index 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 b475b2e..3c57ab3 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,11 +1,90 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  uvec4 tint_symbol;
+} v;
+layout(binding = 0, r32ui) uniform highp readonly uimage1D arg_0;
+uvec4 textureLoad_1561a7() {
+  int arg_1 = 1;
+  uvec4 res = imageLoad(arg_0, int(arg_1));
+  return res;
+}
+void main() {
+  v.tint_symbol = textureLoad_1561a7();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:9: 'uimage1D' : Reserved word. 
+WARNING: 0:9: 'layout' : useless application of layout qualifier 
+ERROR: 0:9: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  uvec4 tint_symbol;
+} v;
+layout(binding = 0, r32ui) uniform highp readonly uimage1D arg_0;
+uvec4 textureLoad_1561a7() {
+  int arg_1 = 1;
+  uvec4 res = imageLoad(arg_0, int(arg_1));
+  return res;
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  v.tint_symbol = textureLoad_1561a7();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:7: 'uimage1D' : Reserved word. 
+WARNING: 0:7: 'layout' : useless application of layout qualifier 
+ERROR: 0:7: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+
+struct VertexOutput {
+  vec4 pos;
+  uvec4 prevent_dce;
+};
+
+layout(binding = 0, r32ui) uniform highp readonly uimage1D arg_0;
+layout(location = 0) flat out uvec4 vertex_main_loc0_Output;
+uvec4 textureLoad_1561a7() {
+  int arg_1 = 1;
+  uvec4 res = imageLoad(arg_0, int(arg_1));
+  return res;
+}
+VertexOutput vertex_main_inner() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), uvec4(0u));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = textureLoad_1561a7();
+  return tint_symbol;
+}
+void main() {
+  VertexOutput v = vertex_main_inner();
+  gl_Position = v.pos;
+  gl_Position[1u] = -(gl_Position.y);
+  gl_Position[2u] = ((2.0f * gl_Position.z) - gl_Position.w);
+  vertex_main_loc0_Output = v.prevent_dce;
+  gl_PointSize = 1.0f;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:9: 'uimage1D' : Reserved word. 
+WARNING: 0:9: 'layout' : useless application of layout qualifier 
+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/textureLoad/170593.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/170593.wgsl.expected.ir.glsl
index 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 b475b2e..928ec74 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
+<dawn>/src/tint/lang/glsl/writer/raise/builtin_polyfill.cc:469 internal compiler error: TINT_ASSERT(!tex->Type()->Is<core::type::DepthTexture>())
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 b475b2e..61c6a76 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,11 +1,90 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  uvec4 tint_symbol;
+} v;
+layout(binding = 0, rgba8ui) uniform highp readonly uimage1D arg_0;
+uvec4 textureLoad_1a8452() {
+  int arg_1 = 1;
+  uvec4 res = imageLoad(arg_0, int(arg_1));
+  return res;
+}
+void main() {
+  v.tint_symbol = textureLoad_1a8452();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:9: 'uimage1D' : Reserved word. 
+WARNING: 0:9: 'layout' : useless application of layout qualifier 
+ERROR: 0:9: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  uvec4 tint_symbol;
+} v;
+layout(binding = 0, rgba8ui) uniform highp readonly uimage1D arg_0;
+uvec4 textureLoad_1a8452() {
+  int arg_1 = 1;
+  uvec4 res = imageLoad(arg_0, int(arg_1));
+  return res;
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  v.tint_symbol = textureLoad_1a8452();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:7: 'uimage1D' : Reserved word. 
+WARNING: 0:7: 'layout' : useless application of layout qualifier 
+ERROR: 0:7: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+
+struct VertexOutput {
+  vec4 pos;
+  uvec4 prevent_dce;
+};
+
+layout(binding = 0, rgba8ui) uniform highp readonly uimage1D arg_0;
+layout(location = 0) flat out uvec4 vertex_main_loc0_Output;
+uvec4 textureLoad_1a8452() {
+  int arg_1 = 1;
+  uvec4 res = imageLoad(arg_0, int(arg_1));
+  return res;
+}
+VertexOutput vertex_main_inner() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), uvec4(0u));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = textureLoad_1a8452();
+  return tint_symbol;
+}
+void main() {
+  VertexOutput v = vertex_main_inner();
+  gl_Position = v.pos;
+  gl_Position[1u] = -(gl_Position.y);
+  gl_Position[2u] = ((2.0f * gl_Position.z) - gl_Position.w);
+  vertex_main_loc0_Output = v.prevent_dce;
+  gl_PointSize = 1.0f;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:9: 'uimage1D' : Reserved word. 
+WARNING: 0:9: 'layout' : useless application of layout qualifier 
+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/textureLoad/1b8588.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/1b8588.wgsl.expected.ir.glsl
index b475b2e..18feab0 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,11 +1,96 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  uvec4 tint_symbol;
+} v;
+uniform highp usampler1D arg_0;
+uvec4 textureLoad_1b8588() {
+  int arg_1 = 1;
+  int arg_2 = 1;
+  int v_1 = arg_2;
+  int v_2 = int(arg_1);
+  uvec4 res = texelFetch(arg_0, v_2, int(v_1));
+  return res;
+}
+void main() {
+  v.tint_symbol = textureLoad_1b8588();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:9: 'usampler1D' : Reserved word. 
+ERROR: 0:9: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  uvec4 tint_symbol;
+} v;
+uniform highp usampler1D arg_0;
+uvec4 textureLoad_1b8588() {
+  int arg_1 = 1;
+  int arg_2 = 1;
+  int v_1 = arg_2;
+  int v_2 = int(arg_1);
+  uvec4 res = texelFetch(arg_0, v_2, int(v_1));
+  return res;
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  v.tint_symbol = textureLoad_1b8588();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:7: 'usampler1D' : Reserved word. 
+ERROR: 0:7: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+
+struct VertexOutput {
+  vec4 pos;
+  uvec4 prevent_dce;
+};
+
+uniform highp usampler1D arg_0;
+layout(location = 0) flat out uvec4 vertex_main_loc0_Output;
+uvec4 textureLoad_1b8588() {
+  int arg_1 = 1;
+  int arg_2 = 1;
+  int v = arg_2;
+  int v_1 = int(arg_1);
+  uvec4 res = texelFetch(arg_0, v_1, int(v));
+  return res;
+}
+VertexOutput vertex_main_inner() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), uvec4(0u));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = textureLoad_1b8588();
+  return tint_symbol;
+}
+void main() {
+  VertexOutput v_2 = vertex_main_inner();
+  gl_Position = v_2.pos;
+  gl_Position[1u] = -(gl_Position.y);
+  gl_Position[2u] = ((2.0f * gl_Position.z) - gl_Position.w);
+  vertex_main_loc0_Output = v_2.prevent_dce;
+  gl_PointSize = 1.0f;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:9: 'usampler1D' : Reserved word. 
+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/textureLoad/1bc5ab.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/1bc5ab.wgsl.expected.ir.glsl
index 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 b475b2e..b4d6e61 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,11 +1,90 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  uvec4 tint_symbol;
+} v;
+layout(binding = 0, rgba8ui) uniform highp readonly uimage1D arg_0;
+uvec4 textureLoad_206a08() {
+  uint arg_1 = 1u;
+  uvec4 res = imageLoad(arg_0, int(arg_1));
+  return res;
+}
+void main() {
+  v.tint_symbol = textureLoad_206a08();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:9: 'uimage1D' : Reserved word. 
+WARNING: 0:9: 'layout' : useless application of layout qualifier 
+ERROR: 0:9: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  uvec4 tint_symbol;
+} v;
+layout(binding = 0, rgba8ui) uniform highp readonly uimage1D arg_0;
+uvec4 textureLoad_206a08() {
+  uint arg_1 = 1u;
+  uvec4 res = imageLoad(arg_0, int(arg_1));
+  return res;
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  v.tint_symbol = textureLoad_206a08();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:7: 'uimage1D' : Reserved word. 
+WARNING: 0:7: 'layout' : useless application of layout qualifier 
+ERROR: 0:7: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+
+struct VertexOutput {
+  vec4 pos;
+  uvec4 prevent_dce;
+};
+
+layout(binding = 0, rgba8ui) uniform highp readonly uimage1D arg_0;
+layout(location = 0) flat out uvec4 vertex_main_loc0_Output;
+uvec4 textureLoad_206a08() {
+  uint arg_1 = 1u;
+  uvec4 res = imageLoad(arg_0, int(arg_1));
+  return res;
+}
+VertexOutput vertex_main_inner() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), uvec4(0u));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = textureLoad_206a08();
+  return tint_symbol;
+}
+void main() {
+  VertexOutput v = vertex_main_inner();
+  gl_Position = v.pos;
+  gl_Position[1u] = -(gl_Position.y);
+  gl_Position[2u] = ((2.0f * gl_Position.z) - gl_Position.w);
+  vertex_main_loc0_Output = v.prevent_dce;
+  gl_PointSize = 1.0f;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:9: 'uimage1D' : Reserved word. 
+WARNING: 0:9: 'layout' : useless application of layout qualifier 
+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/textureLoad/216c37.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/216c37.wgsl.expected.ir.glsl
index b475b2e..7a9cd85 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,11 +1,96 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  uvec4 tint_symbol;
+} v;
+uniform highp usampler1D arg_0;
+uvec4 textureLoad_216c37() {
+  uint arg_1 = 1u;
+  int arg_2 = 1;
+  int v_1 = arg_2;
+  int v_2 = int(arg_1);
+  uvec4 res = texelFetch(arg_0, v_2, int(v_1));
+  return res;
+}
+void main() {
+  v.tint_symbol = textureLoad_216c37();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:9: 'usampler1D' : Reserved word. 
+ERROR: 0:9: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  uvec4 tint_symbol;
+} v;
+uniform highp usampler1D arg_0;
+uvec4 textureLoad_216c37() {
+  uint arg_1 = 1u;
+  int arg_2 = 1;
+  int v_1 = arg_2;
+  int v_2 = int(arg_1);
+  uvec4 res = texelFetch(arg_0, v_2, int(v_1));
+  return res;
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  v.tint_symbol = textureLoad_216c37();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:7: 'usampler1D' : Reserved word. 
+ERROR: 0:7: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+
+struct VertexOutput {
+  vec4 pos;
+  uvec4 prevent_dce;
+};
+
+uniform highp usampler1D arg_0;
+layout(location = 0) flat out uvec4 vertex_main_loc0_Output;
+uvec4 textureLoad_216c37() {
+  uint arg_1 = 1u;
+  int arg_2 = 1;
+  int v = arg_2;
+  int v_1 = int(arg_1);
+  uvec4 res = texelFetch(arg_0, v_1, int(v));
+  return res;
+}
+VertexOutput vertex_main_inner() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), uvec4(0u));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = textureLoad_216c37();
+  return tint_symbol;
+}
+void main() {
+  VertexOutput v_2 = vertex_main_inner();
+  gl_Position = v_2.pos;
+  gl_Position[1u] = -(gl_Position.y);
+  gl_Position[2u] = ((2.0f * gl_Position.z) - gl_Position.w);
+  vertex_main_loc0_Output = v_2.prevent_dce;
+  gl_PointSize = 1.0f;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:9: 'usampler1D' : Reserved word. 
+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/textureLoad/25b67f.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/25b67f.wgsl.expected.ir.glsl
index 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 b475b2e..d03e048 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,11 +1,90 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  uvec4 tint_symbol;
+} v;
+layout(binding = 0, rgba32ui) uniform highp readonly uimage1D arg_0;
+uvec4 textureLoad_276a2c() {
+  int arg_1 = 1;
+  uvec4 res = imageLoad(arg_0, int(arg_1));
+  return res;
+}
+void main() {
+  v.tint_symbol = textureLoad_276a2c();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:9: 'uimage1D' : Reserved word. 
+WARNING: 0:9: 'layout' : useless application of layout qualifier 
+ERROR: 0:9: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  uvec4 tint_symbol;
+} v;
+layout(binding = 0, rgba32ui) uniform highp readonly uimage1D arg_0;
+uvec4 textureLoad_276a2c() {
+  int arg_1 = 1;
+  uvec4 res = imageLoad(arg_0, int(arg_1));
+  return res;
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  v.tint_symbol = textureLoad_276a2c();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:7: 'uimage1D' : Reserved word. 
+WARNING: 0:7: 'layout' : useless application of layout qualifier 
+ERROR: 0:7: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+
+struct VertexOutput {
+  vec4 pos;
+  uvec4 prevent_dce;
+};
+
+layout(binding = 0, rgba32ui) uniform highp readonly uimage1D arg_0;
+layout(location = 0) flat out uvec4 vertex_main_loc0_Output;
+uvec4 textureLoad_276a2c() {
+  int arg_1 = 1;
+  uvec4 res = imageLoad(arg_0, int(arg_1));
+  return res;
+}
+VertexOutput vertex_main_inner() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), uvec4(0u));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = textureLoad_276a2c();
+  return tint_symbol;
+}
+void main() {
+  VertexOutput v = vertex_main_inner();
+  gl_Position = v.pos;
+  gl_Position[1u] = -(gl_Position.y);
+  gl_Position[2u] = ((2.0f * gl_Position.z) - gl_Position.w);
+  vertex_main_loc0_Output = v.prevent_dce;
+  gl_PointSize = 1.0f;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:9: 'uimage1D' : Reserved word. 
+WARNING: 0:9: 'layout' : useless application of layout qualifier 
+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/textureLoad/2887d7.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/2887d7.wgsl.expected.ir.glsl
index b475b2e..0573ce3 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,11 +1,90 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  vec4 tint_symbol;
+} v;
+layout(binding = 0, rgba32f) uniform highp readonly image1D arg_0;
+vec4 textureLoad_2887d7() {
+  int arg_1 = 1;
+  vec4 res = imageLoad(arg_0, int(arg_1));
+  return res;
+}
+void main() {
+  v.tint_symbol = textureLoad_2887d7();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:9: 'image1D' : Reserved word. 
+WARNING: 0:9: 'layout' : useless application of layout qualifier 
+ERROR: 0:9: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  vec4 tint_symbol;
+} v;
+layout(binding = 0, rgba32f) uniform highp readonly image1D arg_0;
+vec4 textureLoad_2887d7() {
+  int arg_1 = 1;
+  vec4 res = imageLoad(arg_0, int(arg_1));
+  return res;
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  v.tint_symbol = textureLoad_2887d7();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:7: 'image1D' : Reserved word. 
+WARNING: 0:7: 'layout' : useless application of layout qualifier 
+ERROR: 0:7: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+layout(binding = 0, rgba32f) uniform highp readonly image1D arg_0;
+layout(location = 0) flat out vec4 vertex_main_loc0_Output;
+vec4 textureLoad_2887d7() {
+  int arg_1 = 1;
+  vec4 res = imageLoad(arg_0, int(arg_1));
+  return res;
+}
+VertexOutput vertex_main_inner() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = textureLoad_2887d7();
+  return tint_symbol;
+}
+void main() {
+  VertexOutput v = vertex_main_inner();
+  gl_Position = v.pos;
+  gl_Position[1u] = -(gl_Position.y);
+  gl_Position[2u] = ((2.0f * gl_Position.z) - gl_Position.w);
+  vertex_main_loc0_Output = v.prevent_dce;
+  gl_PointSize = 1.0f;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:9: 'image1D' : Reserved word. 
+WARNING: 0:9: 'layout' : useless application of layout qualifier 
+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/textureLoad/2cee30.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/2cee30.wgsl.expected.ir.glsl
index 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 023772f..6338d00 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:994 internal compiler error: bgra8unorm should have been polyfilled to rgba8unorm
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 b475b2e..bbb1eef 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,11 +1,90 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  uvec4 tint_symbol;
+} v;
+layout(binding = 0, r32ui) uniform highp readonly uimage1D arg_0;
+uvec4 textureLoad_31db4b() {
+  uint arg_1 = 1u;
+  uvec4 res = imageLoad(arg_0, int(arg_1));
+  return res;
+}
+void main() {
+  v.tint_symbol = textureLoad_31db4b();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:9: 'uimage1D' : Reserved word. 
+WARNING: 0:9: 'layout' : useless application of layout qualifier 
+ERROR: 0:9: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  uvec4 tint_symbol;
+} v;
+layout(binding = 0, r32ui) uniform highp readonly uimage1D arg_0;
+uvec4 textureLoad_31db4b() {
+  uint arg_1 = 1u;
+  uvec4 res = imageLoad(arg_0, int(arg_1));
+  return res;
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  v.tint_symbol = textureLoad_31db4b();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:7: 'uimage1D' : Reserved word. 
+WARNING: 0:7: 'layout' : useless application of layout qualifier 
+ERROR: 0:7: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+
+struct VertexOutput {
+  vec4 pos;
+  uvec4 prevent_dce;
+};
+
+layout(binding = 0, r32ui) uniform highp readonly uimage1D arg_0;
+layout(location = 0) flat out uvec4 vertex_main_loc0_Output;
+uvec4 textureLoad_31db4b() {
+  uint arg_1 = 1u;
+  uvec4 res = imageLoad(arg_0, int(arg_1));
+  return res;
+}
+VertexOutput vertex_main_inner() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), uvec4(0u));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = textureLoad_31db4b();
+  return tint_symbol;
+}
+void main() {
+  VertexOutput v = vertex_main_inner();
+  gl_Position = v.pos;
+  gl_Position[1u] = -(gl_Position.y);
+  gl_Position[2u] = ((2.0f * gl_Position.z) - gl_Position.w);
+  vertex_main_loc0_Output = v.prevent_dce;
+  gl_PointSize = 1.0f;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:9: 'uimage1D' : Reserved word. 
+WARNING: 0:9: 'layout' : useless application of layout qualifier 
+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/textureLoad/32a7b8.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/32a7b8.wgsl.expected.ir.glsl
index 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 b475b2e..4292f2d 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,11 +1,90 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  ivec4 tint_symbol;
+} v;
+layout(binding = 0, rgba32i) uniform highp readonly iimage1D arg_0;
+ivec4 textureLoad_33d3aa() {
+  uint arg_1 = 1u;
+  ivec4 res = imageLoad(arg_0, int(arg_1));
+  return res;
+}
+void main() {
+  v.tint_symbol = textureLoad_33d3aa();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:9: 'iimage1D' : Reserved word. 
+WARNING: 0:9: 'layout' : useless application of layout qualifier 
+ERROR: 0:9: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  ivec4 tint_symbol;
+} v;
+layout(binding = 0, rgba32i) uniform highp readonly iimage1D arg_0;
+ivec4 textureLoad_33d3aa() {
+  uint arg_1 = 1u;
+  ivec4 res = imageLoad(arg_0, int(arg_1));
+  return res;
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  v.tint_symbol = textureLoad_33d3aa();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:7: 'iimage1D' : Reserved word. 
+WARNING: 0:7: 'layout' : useless application of layout qualifier 
+ERROR: 0:7: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+
+struct VertexOutput {
+  vec4 pos;
+  ivec4 prevent_dce;
+};
+
+layout(binding = 0, rgba32i) uniform highp readonly iimage1D arg_0;
+layout(location = 0) flat out ivec4 vertex_main_loc0_Output;
+ivec4 textureLoad_33d3aa() {
+  uint arg_1 = 1u;
+  ivec4 res = imageLoad(arg_0, int(arg_1));
+  return res;
+}
+VertexOutput vertex_main_inner() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), ivec4(0));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = textureLoad_33d3aa();
+  return tint_symbol;
+}
+void main() {
+  VertexOutput v = vertex_main_inner();
+  gl_Position = v.pos;
+  gl_Position[1u] = -(gl_Position.y);
+  gl_Position[2u] = ((2.0f * gl_Position.z) - gl_Position.w);
+  vertex_main_loc0_Output = v.prevent_dce;
+  gl_PointSize = 1.0f;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:9: 'iimage1D' : Reserved word. 
+WARNING: 0:9: 'layout' : useless application of layout qualifier 
+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/textureLoad/388688.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/388688.wgsl.expected.ir.glsl
index b475b2e..f7afe88 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,11 +1,90 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  vec4 tint_symbol;
+} v;
+layout(binding = 0, rgba8_snorm) uniform highp readonly image1D arg_0;
+vec4 textureLoad_388688() {
+  uint arg_1 = 1u;
+  vec4 res = imageLoad(arg_0, int(arg_1));
+  return res;
+}
+void main() {
+  v.tint_symbol = textureLoad_388688();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:9: 'image1D' : Reserved word. 
+WARNING: 0:9: 'layout' : useless application of layout qualifier 
+ERROR: 0:9: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  vec4 tint_symbol;
+} v;
+layout(binding = 0, rgba8_snorm) uniform highp readonly image1D arg_0;
+vec4 textureLoad_388688() {
+  uint arg_1 = 1u;
+  vec4 res = imageLoad(arg_0, int(arg_1));
+  return res;
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  v.tint_symbol = textureLoad_388688();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:7: 'image1D' : Reserved word. 
+WARNING: 0:7: 'layout' : useless application of layout qualifier 
+ERROR: 0:7: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+layout(binding = 0, rgba8_snorm) uniform highp readonly image1D arg_0;
+layout(location = 0) flat out vec4 vertex_main_loc0_Output;
+vec4 textureLoad_388688() {
+  uint arg_1 = 1u;
+  vec4 res = imageLoad(arg_0, int(arg_1));
+  return res;
+}
+VertexOutput vertex_main_inner() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = textureLoad_388688();
+  return tint_symbol;
+}
+void main() {
+  VertexOutput v = vertex_main_inner();
+  gl_Position = v.pos;
+  gl_Position[1u] = -(gl_Position.y);
+  gl_Position[2u] = ((2.0f * gl_Position.z) - gl_Position.w);
+  vertex_main_loc0_Output = v.prevent_dce;
+  gl_PointSize = 1.0f;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:9: 'image1D' : Reserved word. 
+WARNING: 0:9: 'layout' : useless application of layout qualifier 
+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/textureLoad/39016c.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/39016c.wgsl.expected.ir.glsl
index 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 b475b2e..613f04d 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,11 +1,90 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  vec4 tint_symbol;
+} v;
+layout(binding = 0, rgba16f) uniform highp readonly image1D arg_0;
+vec4 textureLoad_39ef40() {
+  uint arg_1 = 1u;
+  vec4 res = imageLoad(arg_0, int(arg_1));
+  return res;
+}
+void main() {
+  v.tint_symbol = textureLoad_39ef40();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:9: 'image1D' : Reserved word. 
+WARNING: 0:9: 'layout' : useless application of layout qualifier 
+ERROR: 0:9: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  vec4 tint_symbol;
+} v;
+layout(binding = 0, rgba16f) uniform highp readonly image1D arg_0;
+vec4 textureLoad_39ef40() {
+  uint arg_1 = 1u;
+  vec4 res = imageLoad(arg_0, int(arg_1));
+  return res;
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  v.tint_symbol = textureLoad_39ef40();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:7: 'image1D' : Reserved word. 
+WARNING: 0:7: 'layout' : useless application of layout qualifier 
+ERROR: 0:7: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+layout(binding = 0, rgba16f) uniform highp readonly image1D arg_0;
+layout(location = 0) flat out vec4 vertex_main_loc0_Output;
+vec4 textureLoad_39ef40() {
+  uint arg_1 = 1u;
+  vec4 res = imageLoad(arg_0, int(arg_1));
+  return res;
+}
+VertexOutput vertex_main_inner() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = textureLoad_39ef40();
+  return tint_symbol;
+}
+void main() {
+  VertexOutput v = vertex_main_inner();
+  gl_Position = v.pos;
+  gl_Position[1u] = -(gl_Position.y);
+  gl_Position[2u] = ((2.0f * gl_Position.z) - gl_Position.w);
+  vertex_main_loc0_Output = v.prevent_dce;
+  gl_PointSize = 1.0f;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:9: 'image1D' : Reserved word. 
+WARNING: 0:9: 'layout' : useless application of layout qualifier 
+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/textureLoad/3a2350.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/3a2350.wgsl.expected.ir.glsl
index 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 b475b2e..ad7979a 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,11 +1,53 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  vec4 tint_symbol;
+} v;
+layout(binding = 0, r32f) uniform highp image1D arg_0;
+vec4 textureLoad_3bbc2b() {
+  int arg_1 = 1;
+  vec4 res = imageLoad(arg_0, int(arg_1));
+  return res;
+}
+void main() {
+  v.tint_symbol = textureLoad_3bbc2b();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:9: 'image1D' : Reserved word. 
+WARNING: 0:9: 'layout' : useless application of layout qualifier 
+ERROR: 0:9: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  vec4 tint_symbol;
+} v;
+layout(binding = 0, r32f) uniform highp image1D arg_0;
+vec4 textureLoad_3bbc2b() {
+  int arg_1 = 1;
+  vec4 res = imageLoad(arg_0, int(arg_1));
+  return res;
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  v.tint_symbol = textureLoad_3bbc2b();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:7: 'image1D' : Reserved word. 
+WARNING: 0:7: 'layout' : useless application of layout qualifier 
+ERROR: 0:7: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 b475b2e..35c609b 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,11 +1,96 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  vec4 tint_symbol;
+} v;
+uniform highp sampler1D arg_0;
+vec4 textureLoad_3da3ed() {
+  int arg_1 = 1;
+  uint arg_2 = 1u;
+  uint v_1 = arg_2;
+  int v_2 = int(arg_1);
+  vec4 res = texelFetch(arg_0, v_2, int(v_1));
+  return res;
+}
+void main() {
+  v.tint_symbol = textureLoad_3da3ed();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:9: 'sampler1D' : Reserved word. 
+ERROR: 0:9: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  vec4 tint_symbol;
+} v;
+uniform highp sampler1D arg_0;
+vec4 textureLoad_3da3ed() {
+  int arg_1 = 1;
+  uint arg_2 = 1u;
+  uint v_1 = arg_2;
+  int v_2 = int(arg_1);
+  vec4 res = texelFetch(arg_0, v_2, int(v_1));
+  return res;
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  v.tint_symbol = textureLoad_3da3ed();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:7: 'sampler1D' : Reserved word. 
+ERROR: 0:7: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+uniform highp sampler1D arg_0;
+layout(location = 0) flat out vec4 vertex_main_loc0_Output;
+vec4 textureLoad_3da3ed() {
+  int arg_1 = 1;
+  uint arg_2 = 1u;
+  uint v = arg_2;
+  int v_1 = int(arg_1);
+  vec4 res = texelFetch(arg_0, v_1, int(v));
+  return res;
+}
+VertexOutput vertex_main_inner() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = textureLoad_3da3ed();
+  return tint_symbol;
+}
+void main() {
+  VertexOutput v_2 = vertex_main_inner();
+  gl_Position = v_2.pos;
+  gl_Position[1u] = -(gl_Position.y);
+  gl_Position[2u] = ((2.0f * gl_Position.z) - gl_Position.w);
+  vertex_main_loc0_Output = v_2.prevent_dce;
+  gl_PointSize = 1.0f;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:9: 'sampler1D' : Reserved word. 
+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/textureLoad/40ee8b.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/40ee8b.wgsl.expected.ir.glsl
index 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 b475b2e..d77025a 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,11 +1,90 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  uvec4 tint_symbol;
+} v;
+layout(binding = 0, rgba32ui) uniform highp readonly uimage1D arg_0;
+uvec4 textureLoad_454347() {
+  uint arg_1 = 1u;
+  uvec4 res = imageLoad(arg_0, int(arg_1));
+  return res;
+}
+void main() {
+  v.tint_symbol = textureLoad_454347();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:9: 'uimage1D' : Reserved word. 
+WARNING: 0:9: 'layout' : useless application of layout qualifier 
+ERROR: 0:9: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  uvec4 tint_symbol;
+} v;
+layout(binding = 0, rgba32ui) uniform highp readonly uimage1D arg_0;
+uvec4 textureLoad_454347() {
+  uint arg_1 = 1u;
+  uvec4 res = imageLoad(arg_0, int(arg_1));
+  return res;
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  v.tint_symbol = textureLoad_454347();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:7: 'uimage1D' : Reserved word. 
+WARNING: 0:7: 'layout' : useless application of layout qualifier 
+ERROR: 0:7: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+
+struct VertexOutput {
+  vec4 pos;
+  uvec4 prevent_dce;
+};
+
+layout(binding = 0, rgba32ui) uniform highp readonly uimage1D arg_0;
+layout(location = 0) flat out uvec4 vertex_main_loc0_Output;
+uvec4 textureLoad_454347() {
+  uint arg_1 = 1u;
+  uvec4 res = imageLoad(arg_0, int(arg_1));
+  return res;
+}
+VertexOutput vertex_main_inner() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), uvec4(0u));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = textureLoad_454347();
+  return tint_symbol;
+}
+void main() {
+  VertexOutput v = vertex_main_inner();
+  gl_Position = v.pos;
+  gl_Position[1u] = -(gl_Position.y);
+  gl_Position[2u] = ((2.0f * gl_Position.z) - gl_Position.w);
+  vertex_main_loc0_Output = v.prevent_dce;
+  gl_PointSize = 1.0f;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:9: 'uimage1D' : Reserved word. 
+WARNING: 0:9: 'layout' : useless application of layout qualifier 
+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/textureLoad/473d3e.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/473d3e.wgsl.expected.ir.glsl
index 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 b475b2e..c26586d 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,11 +1,96 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  ivec4 tint_symbol;
+} v;
+uniform highp isampler1D arg_0;
+ivec4 textureLoad_4c423f() {
+  uint arg_1 = 1u;
+  int arg_2 = 1;
+  int v_1 = arg_2;
+  int v_2 = int(arg_1);
+  ivec4 res = texelFetch(arg_0, v_2, int(v_1));
+  return res;
+}
+void main() {
+  v.tint_symbol = textureLoad_4c423f();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:9: 'isampler1D' : Reserved word. 
+ERROR: 0:9: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  ivec4 tint_symbol;
+} v;
+uniform highp isampler1D arg_0;
+ivec4 textureLoad_4c423f() {
+  uint arg_1 = 1u;
+  int arg_2 = 1;
+  int v_1 = arg_2;
+  int v_2 = int(arg_1);
+  ivec4 res = texelFetch(arg_0, v_2, int(v_1));
+  return res;
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  v.tint_symbol = textureLoad_4c423f();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:7: 'isampler1D' : Reserved word. 
+ERROR: 0:7: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+
+struct VertexOutput {
+  vec4 pos;
+  ivec4 prevent_dce;
+};
+
+uniform highp isampler1D arg_0;
+layout(location = 0) flat out ivec4 vertex_main_loc0_Output;
+ivec4 textureLoad_4c423f() {
+  uint arg_1 = 1u;
+  int arg_2 = 1;
+  int v = arg_2;
+  int v_1 = int(arg_1);
+  ivec4 res = texelFetch(arg_0, v_1, int(v));
+  return res;
+}
+VertexOutput vertex_main_inner() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), ivec4(0));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = textureLoad_4c423f();
+  return tint_symbol;
+}
+void main() {
+  VertexOutput v_2 = vertex_main_inner();
+  gl_Position = v_2.pos;
+  gl_Position[1u] = -(gl_Position.y);
+  gl_Position[2u] = ((2.0f * gl_Position.z) - gl_Position.w);
+  vertex_main_loc0_Output = v_2.prevent_dce;
+  gl_PointSize = 1.0f;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:9: 'isampler1D' : Reserved word. 
+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/textureLoad/4db25c.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/4db25c.wgsl.expected.ir.glsl
index b475b2e..c0402b5 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,11 +1,246 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
 
-tint executable returned error: signal: trace/BPT trap
+@group(0) @binding(0) var<storage, read_write> prevent_dce : f32;
+
+@group(1) @binding(0) var arg_0 : texture_depth_multisampled_2d;
+
+fn textureLoad_4db25c() -> f32 {
+  var arg_1 = vec2<u32>(1u);
+  var arg_2 = 1u;
+  var res : f32 = textureLoad(arg_0, arg_1, arg_2);
+  return res;
+}
+
+struct VertexOutput {
+  @builtin(position)
+  pos : vec4<f32>,
+  @location(0) @interpolate(flat)
+  prevent_dce : f32,
+}
+
+@fragment
+fn fragment_main() {
+  prevent_dce = textureLoad_4db25c();
+}
+
+Failed to generate: :19:15 error: glsl.texelFetch: no matching call to 'glsl.texelFetch(texture_depth_multisampled_2d, vec2<i32>, i32)'
+
+5 candidate functions:
+ • 'glsl.texelFetch(texture: texture_2d<T>  ✗ , location: vec2<i32>  ✓ , level: i32  ✓ ) -> vec4<T>' where:
+      ✗  'T' is 'f32', 'i32' or 'u32'
+ • 'glsl.texelFetch(texture: texture_multisampled_2d<T>  ✗ , location: vec2<i32>  ✓ , sample_index: i32  ✓ ) -> vec4<T>' where:
+      ✗  'T' is 'f32', 'i32' or 'u32'
+ • 'glsl.texelFetch(texture: texture_1d<T>  ✗ , location: i32  ✗ , level: i32  ✓ ) -> vec4<T>' where:
+      ✗  'T' is 'f32', 'i32' or 'u32'
+ • 'glsl.texelFetch(texture: texture_2d_array<T>  ✗ , location: vec3<i32>  ✗ , level: i32  ✓ ) -> vec4<T>' where:
+      ✗  'T' is 'f32', 'i32' or 'u32'
+ • 'glsl.texelFetch(texture: texture_3d<T>  ✗ , location: vec3<i32>  ✗ , level: i32  ✓ ) -> vec4<T>' where:
+      ✗  'T' is 'f32', 'i32' or 'u32'
+
+    %11:f32 = glsl.texelFetch %6, %9, %10
+              ^^^^^^^^^^^^^^^
+
+:11:3 note: in block
+  $B2: {
+  ^^^
+
+note: # Disassembly
+tint_symbol_1 = struct @align(4), @block {
+  tint_symbol:f32 @offset(0)
+}
+
+$B1: {  # root
+  %1:ptr<storage, tint_symbol_1, read_write> = var @binding_point(0, 0)
+  %arg_0:ptr<handle, texture_depth_multisampled_2d, read> = var @binding_point(0, 0)
+}
+
+%textureLoad_4db25c = func():f32 {
+  $B2: {
+    %arg_1:ptr<function, vec2<u32>, read_write> = var, vec2<u32>(1u)
+    %arg_2:ptr<function, u32, read_write> = var, 1u
+    %6:texture_depth_multisampled_2d = load %arg_0
+    %7:vec2<u32> = load %arg_1
+    %8:u32 = load %arg_2
+    %9:vec2<i32> = convert %7
+    %10:i32 = convert %8
+    %11:f32 = glsl.texelFetch %6, %9, %10
+    %res:ptr<function, f32, read_write> = var, %11
+    %13:f32 = load %res
+    ret %13
+  }
+}
+%fragment_main = @fragment func():void {
+  $B3: {
+    %15:f32 = call %textureLoad_4db25c
+    %16:ptr<storage, f32, read_write> = access %1, 0u
+    store %16, %15
+    ret
+  }
+}
+
+
+@group(0) @binding(0) var<storage, read_write> prevent_dce : f32;
+
+@group(1) @binding(0) var arg_0 : texture_depth_multisampled_2d;
+
+fn textureLoad_4db25c() -> f32 {
+  var arg_1 = vec2<u32>(1u);
+  var arg_2 = 1u;
+  var res : f32 = textureLoad(arg_0, arg_1, arg_2);
+  return res;
+}
+
+struct VertexOutput {
+  @builtin(position)
+  pos : vec4<f32>,
+  @location(0) @interpolate(flat)
+  prevent_dce : f32,
+}
+
+@compute @workgroup_size(1)
+fn compute_main() {
+  prevent_dce = textureLoad_4db25c();
+}
+
+Failed to generate: :19:15 error: glsl.texelFetch: no matching call to 'glsl.texelFetch(texture_depth_multisampled_2d, vec2<i32>, i32)'
+
+5 candidate functions:
+ • 'glsl.texelFetch(texture: texture_2d<T>  ✗ , location: vec2<i32>  ✓ , level: i32  ✓ ) -> vec4<T>' where:
+      ✗  'T' is 'f32', 'i32' or 'u32'
+ • 'glsl.texelFetch(texture: texture_multisampled_2d<T>  ✗ , location: vec2<i32>  ✓ , sample_index: i32  ✓ ) -> vec4<T>' where:
+      ✗  'T' is 'f32', 'i32' or 'u32'
+ • 'glsl.texelFetch(texture: texture_1d<T>  ✗ , location: i32  ✗ , level: i32  ✓ ) -> vec4<T>' where:
+      ✗  'T' is 'f32', 'i32' or 'u32'
+ • 'glsl.texelFetch(texture: texture_2d_array<T>  ✗ , location: vec3<i32>  ✗ , level: i32  ✓ ) -> vec4<T>' where:
+      ✗  'T' is 'f32', 'i32' or 'u32'
+ • 'glsl.texelFetch(texture: texture_3d<T>  ✗ , location: vec3<i32>  ✗ , level: i32  ✓ ) -> vec4<T>' where:
+      ✗  'T' is 'f32', 'i32' or 'u32'
+
+    %11:f32 = glsl.texelFetch %6, %9, %10
+              ^^^^^^^^^^^^^^^
+
+:11:3 note: in block
+  $B2: {
+  ^^^
+
+note: # Disassembly
+tint_symbol_1 = struct @align(4), @block {
+  tint_symbol:f32 @offset(0)
+}
+
+$B1: {  # root
+  %1:ptr<storage, tint_symbol_1, read_write> = var @binding_point(0, 0)
+  %arg_0:ptr<handle, texture_depth_multisampled_2d, read> = var @binding_point(0, 0)
+}
+
+%textureLoad_4db25c = func():f32 {
+  $B2: {
+    %arg_1:ptr<function, vec2<u32>, read_write> = var, vec2<u32>(1u)
+    %arg_2:ptr<function, u32, read_write> = var, 1u
+    %6:texture_depth_multisampled_2d = load %arg_0
+    %7:vec2<u32> = load %arg_1
+    %8:u32 = load %arg_2
+    %9:vec2<i32> = convert %7
+    %10:i32 = convert %8
+    %11:f32 = glsl.texelFetch %6, %9, %10
+    %res:ptr<function, f32, read_write> = var, %11
+    %13:f32 = load %res
+    ret %13
+  }
+}
+%compute_main = @compute @workgroup_size(1, 1, 1) func():void {
+  $B3: {
+    %15:f32 = call %textureLoad_4db25c
+    %16:ptr<storage, f32, read_write> = access %1, 0u
+    store %16, %15
+    ret
+  }
+}
+
+
+@group(1) @binding(0) var arg_0 : texture_depth_multisampled_2d;
+
+fn textureLoad_4db25c() -> f32 {
+  var arg_1 = vec2<u32>(1u);
+  var arg_2 = 1u;
+  var res : f32 = textureLoad(arg_0, arg_1, arg_2);
+  return res;
+}
+
+struct VertexOutput {
+  @builtin(position)
+  pos : vec4<f32>,
+  @location(0) @interpolate(flat)
+  prevent_dce : f32,
+}
+
+@vertex
+fn vertex_main() -> VertexOutput {
+  var tint_symbol : VertexOutput;
+  tint_symbol.pos = vec4<f32>();
+  tint_symbol.prevent_dce = textureLoad_4db25c();
+  return tint_symbol;
+}
+
+Failed to generate: :19:15 error: glsl.texelFetch: no matching call to 'glsl.texelFetch(texture_depth_multisampled_2d, vec2<i32>, i32)'
+
+5 candidate functions:
+ • 'glsl.texelFetch(texture: texture_2d<T>  ✗ , location: vec2<i32>  ✓ , level: i32  ✓ ) -> vec4<T>' where:
+      ✗  'T' is 'f32', 'i32' or 'u32'
+ • 'glsl.texelFetch(texture: texture_multisampled_2d<T>  ✗ , location: vec2<i32>  ✓ , sample_index: i32  ✓ ) -> vec4<T>' where:
+      ✗  'T' is 'f32', 'i32' or 'u32'
+ • 'glsl.texelFetch(texture: texture_1d<T>  ✗ , location: i32  ✗ , level: i32  ✓ ) -> vec4<T>' where:
+      ✗  'T' is 'f32', 'i32' or 'u32'
+ • 'glsl.texelFetch(texture: texture_2d_array<T>  ✗ , location: vec3<i32>  ✗ , level: i32  ✓ ) -> vec4<T>' where:
+      ✗  'T' is 'f32', 'i32' or 'u32'
+ • 'glsl.texelFetch(texture: texture_3d<T>  ✗ , location: vec3<i32>  ✗ , level: i32  ✓ ) -> vec4<T>' where:
+      ✗  'T' is 'f32', 'i32' or 'u32'
+
+    %10:f32 = glsl.texelFetch %5, %8, %9
+              ^^^^^^^^^^^^^^^
+
+:11:3 note: in block
+  $B2: {
+  ^^^
+
+note: # Disassembly
+VertexOutput = struct @align(16) {
+  pos:vec4<f32> @offset(0), @builtin(position)
+  prevent_dce:f32 @offset(16), @location(0), @interpolate(flat)
+}
+
+$B1: {  # root
+  %arg_0:ptr<handle, texture_depth_multisampled_2d, read> = var @binding_point(0, 0)
+}
+
+%textureLoad_4db25c = func():f32 {
+  $B2: {
+    %arg_1:ptr<function, vec2<u32>, read_write> = var, vec2<u32>(1u)
+    %arg_2:ptr<function, u32, read_write> = var, 1u
+    %5:texture_depth_multisampled_2d = load %arg_0
+    %6:vec2<u32> = load %arg_1
+    %7:u32 = load %arg_2
+    %8:vec2<i32> = convert %6
+    %9:i32 = convert %7
+    %10:f32 = glsl.texelFetch %5, %8, %9
+    %res:ptr<function, f32, read_write> = var, %10
+    %12:f32 = load %res
+    ret %12
+  }
+}
+%vertex_main = @vertex func():VertexOutput {
+  $B3: {
+    %tint_symbol:ptr<function, VertexOutput, read_write> = var
+    %15:ptr<function, vec4<f32>, read_write> = access %tint_symbol, 0u
+    store %15, vec4<f32>(0.0f)
+    %16:ptr<function, f32, read_write> = access %tint_symbol, 1u
+    %17:f32 = call %textureLoad_4db25c
+    store %16, %17
+    %18:VertexOutput = load %tint_symbol
+    ret %18
+  }
+}
+
+
+tint executable returned error: exit status 1
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 023772f..6338d00 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:994 internal compiler error: bgra8unorm should have been polyfilled to rgba8unorm
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 b475b2e..c76c801 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,11 +1,90 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  vec4 tint_symbol;
+} v;
+layout(binding = 0, rgba8) uniform highp readonly image1D arg_0;
+vec4 textureLoad_519ab5() {
+  int arg_1 = 1;
+  vec4 res = imageLoad(arg_0, int(arg_1));
+  return res;
+}
+void main() {
+  v.tint_symbol = textureLoad_519ab5();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:9: 'image1D' : Reserved word. 
+WARNING: 0:9: 'layout' : useless application of layout qualifier 
+ERROR: 0:9: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  vec4 tint_symbol;
+} v;
+layout(binding = 0, rgba8) uniform highp readonly image1D arg_0;
+vec4 textureLoad_519ab5() {
+  int arg_1 = 1;
+  vec4 res = imageLoad(arg_0, int(arg_1));
+  return res;
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  v.tint_symbol = textureLoad_519ab5();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:7: 'image1D' : Reserved word. 
+WARNING: 0:7: 'layout' : useless application of layout qualifier 
+ERROR: 0:7: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+layout(binding = 0, rgba8) uniform highp readonly image1D arg_0;
+layout(location = 0) flat out vec4 vertex_main_loc0_Output;
+vec4 textureLoad_519ab5() {
+  int arg_1 = 1;
+  vec4 res = imageLoad(arg_0, int(arg_1));
+  return res;
+}
+VertexOutput vertex_main_inner() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = textureLoad_519ab5();
+  return tint_symbol;
+}
+void main() {
+  VertexOutput v = vertex_main_inner();
+  gl_Position = v.pos;
+  gl_Position[1u] = -(gl_Position.y);
+  gl_Position[2u] = ((2.0f * gl_Position.z) - gl_Position.w);
+  vertex_main_loc0_Output = v.prevent_dce;
+  gl_PointSize = 1.0f;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:9: 'image1D' : Reserved word. 
+WARNING: 0:9: 'layout' : useless application of layout qualifier 
+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/textureLoad/53941c.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/53941c.wgsl.expected.ir.glsl
index 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 b475b2e..ac31801 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,11 +1,96 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  ivec4 tint_symbol;
+} v;
+uniform highp isampler1D arg_0;
+ivec4 textureLoad_5a2f9d() {
+  int arg_1 = 1;
+  int arg_2 = 1;
+  int v_1 = arg_2;
+  int v_2 = int(arg_1);
+  ivec4 res = texelFetch(arg_0, v_2, int(v_1));
+  return res;
+}
+void main() {
+  v.tint_symbol = textureLoad_5a2f9d();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:9: 'isampler1D' : Reserved word. 
+ERROR: 0:9: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  ivec4 tint_symbol;
+} v;
+uniform highp isampler1D arg_0;
+ivec4 textureLoad_5a2f9d() {
+  int arg_1 = 1;
+  int arg_2 = 1;
+  int v_1 = arg_2;
+  int v_2 = int(arg_1);
+  ivec4 res = texelFetch(arg_0, v_2, int(v_1));
+  return res;
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  v.tint_symbol = textureLoad_5a2f9d();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:7: 'isampler1D' : Reserved word. 
+ERROR: 0:7: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+
+struct VertexOutput {
+  vec4 pos;
+  ivec4 prevent_dce;
+};
+
+uniform highp isampler1D arg_0;
+layout(location = 0) flat out ivec4 vertex_main_loc0_Output;
+ivec4 textureLoad_5a2f9d() {
+  int arg_1 = 1;
+  int arg_2 = 1;
+  int v = arg_2;
+  int v_1 = int(arg_1);
+  ivec4 res = texelFetch(arg_0, v_1, int(v));
+  return res;
+}
+VertexOutput vertex_main_inner() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), ivec4(0));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = textureLoad_5a2f9d();
+  return tint_symbol;
+}
+void main() {
+  VertexOutput v_2 = vertex_main_inner();
+  gl_Position = v_2.pos;
+  gl_Position[1u] = -(gl_Position.y);
+  gl_Position[2u] = ((2.0f * gl_Position.z) - gl_Position.w);
+  vertex_main_loc0_Output = v_2.prevent_dce;
+  gl_PointSize = 1.0f;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:9: 'isampler1D' : Reserved word. 
+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/textureLoad/5b0f5b.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/5b0f5b.wgsl.expected.ir.glsl
index 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 023772f..6338d00 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:994 internal compiler error: bgra8unorm should have been polyfilled to rgba8unorm
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 023772f..6338d00 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:994 internal compiler error: bgra8unorm should have been polyfilled to rgba8unorm
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 b475b2e..fa01591 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,11 +1,90 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  vec4 tint_symbol;
+} v;
+layout(binding = 0, r32f) uniform highp readonly image1D arg_0;
+vec4 textureLoad_5feb4d() {
+  uint arg_1 = 1u;
+  vec4 res = imageLoad(arg_0, int(arg_1));
+  return res;
+}
+void main() {
+  v.tint_symbol = textureLoad_5feb4d();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:9: 'image1D' : Reserved word. 
+WARNING: 0:9: 'layout' : useless application of layout qualifier 
+ERROR: 0:9: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  vec4 tint_symbol;
+} v;
+layout(binding = 0, r32f) uniform highp readonly image1D arg_0;
+vec4 textureLoad_5feb4d() {
+  uint arg_1 = 1u;
+  vec4 res = imageLoad(arg_0, int(arg_1));
+  return res;
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  v.tint_symbol = textureLoad_5feb4d();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:7: 'image1D' : Reserved word. 
+WARNING: 0:7: 'layout' : useless application of layout qualifier 
+ERROR: 0:7: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+layout(binding = 0, r32f) uniform highp readonly image1D arg_0;
+layout(location = 0) flat out vec4 vertex_main_loc0_Output;
+vec4 textureLoad_5feb4d() {
+  uint arg_1 = 1u;
+  vec4 res = imageLoad(arg_0, int(arg_1));
+  return res;
+}
+VertexOutput vertex_main_inner() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = textureLoad_5feb4d();
+  return tint_symbol;
+}
+void main() {
+  VertexOutput v = vertex_main_inner();
+  gl_Position = v.pos;
+  gl_Position[1u] = -(gl_Position.y);
+  gl_Position[2u] = ((2.0f * gl_Position.z) - gl_Position.w);
+  vertex_main_loc0_Output = v.prevent_dce;
+  gl_PointSize = 1.0f;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:9: 'image1D' : Reserved word. 
+WARNING: 0:9: 'layout' : useless application of layout qualifier 
+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/textureLoad/622278.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/622278.wgsl.expected.ir.glsl
index 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 b475b2e..7235c03 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,11 +1,246 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
 
-tint executable returned error: signal: trace/BPT trap
+@group(0) @binding(0) var<storage, read_write> prevent_dce : f32;
+
+@group(1) @binding(0) var arg_0 : texture_depth_multisampled_2d;
+
+fn textureLoad_6273b1() -> f32 {
+  var arg_1 = vec2<i32>(1i);
+  var arg_2 = 1i;
+  var res : f32 = textureLoad(arg_0, arg_1, arg_2);
+  return res;
+}
+
+struct VertexOutput {
+  @builtin(position)
+  pos : vec4<f32>,
+  @location(0) @interpolate(flat)
+  prevent_dce : f32,
+}
+
+@fragment
+fn fragment_main() {
+  prevent_dce = textureLoad_6273b1();
+}
+
+Failed to generate: :19:15 error: glsl.texelFetch: no matching call to 'glsl.texelFetch(texture_depth_multisampled_2d, vec2<i32>, i32)'
+
+5 candidate functions:
+ • 'glsl.texelFetch(texture: texture_2d<T>  ✗ , location: vec2<i32>  ✓ , level: i32  ✓ ) -> vec4<T>' where:
+      ✗  'T' is 'f32', 'i32' or 'u32'
+ • 'glsl.texelFetch(texture: texture_multisampled_2d<T>  ✗ , location: vec2<i32>  ✓ , sample_index: i32  ✓ ) -> vec4<T>' where:
+      ✗  'T' is 'f32', 'i32' or 'u32'
+ • 'glsl.texelFetch(texture: texture_1d<T>  ✗ , location: i32  ✗ , level: i32  ✓ ) -> vec4<T>' where:
+      ✗  'T' is 'f32', 'i32' or 'u32'
+ • 'glsl.texelFetch(texture: texture_2d_array<T>  ✗ , location: vec3<i32>  ✗ , level: i32  ✓ ) -> vec4<T>' where:
+      ✗  'T' is 'f32', 'i32' or 'u32'
+ • 'glsl.texelFetch(texture: texture_3d<T>  ✗ , location: vec3<i32>  ✗ , level: i32  ✓ ) -> vec4<T>' where:
+      ✗  'T' is 'f32', 'i32' or 'u32'
+
+    %11:f32 = glsl.texelFetch %6, %9, %10
+              ^^^^^^^^^^^^^^^
+
+:11:3 note: in block
+  $B2: {
+  ^^^
+
+note: # Disassembly
+tint_symbol_1 = struct @align(4), @block {
+  tint_symbol:f32 @offset(0)
+}
+
+$B1: {  # root
+  %1:ptr<storage, tint_symbol_1, read_write> = var @binding_point(0, 0)
+  %arg_0:ptr<handle, texture_depth_multisampled_2d, read> = var @binding_point(0, 0)
+}
+
+%textureLoad_6273b1 = func():f32 {
+  $B2: {
+    %arg_1:ptr<function, vec2<i32>, read_write> = var, vec2<i32>(1i)
+    %arg_2:ptr<function, i32, read_write> = var, 1i
+    %6:texture_depth_multisampled_2d = load %arg_0
+    %7:vec2<i32> = load %arg_1
+    %8:i32 = load %arg_2
+    %9:vec2<i32> = convert %7
+    %10:i32 = convert %8
+    %11:f32 = glsl.texelFetch %6, %9, %10
+    %res:ptr<function, f32, read_write> = var, %11
+    %13:f32 = load %res
+    ret %13
+  }
+}
+%fragment_main = @fragment func():void {
+  $B3: {
+    %15:f32 = call %textureLoad_6273b1
+    %16:ptr<storage, f32, read_write> = access %1, 0u
+    store %16, %15
+    ret
+  }
+}
+
+
+@group(0) @binding(0) var<storage, read_write> prevent_dce : f32;
+
+@group(1) @binding(0) var arg_0 : texture_depth_multisampled_2d;
+
+fn textureLoad_6273b1() -> f32 {
+  var arg_1 = vec2<i32>(1i);
+  var arg_2 = 1i;
+  var res : f32 = textureLoad(arg_0, arg_1, arg_2);
+  return res;
+}
+
+struct VertexOutput {
+  @builtin(position)
+  pos : vec4<f32>,
+  @location(0) @interpolate(flat)
+  prevent_dce : f32,
+}
+
+@compute @workgroup_size(1)
+fn compute_main() {
+  prevent_dce = textureLoad_6273b1();
+}
+
+Failed to generate: :19:15 error: glsl.texelFetch: no matching call to 'glsl.texelFetch(texture_depth_multisampled_2d, vec2<i32>, i32)'
+
+5 candidate functions:
+ • 'glsl.texelFetch(texture: texture_2d<T>  ✗ , location: vec2<i32>  ✓ , level: i32  ✓ ) -> vec4<T>' where:
+      ✗  'T' is 'f32', 'i32' or 'u32'
+ • 'glsl.texelFetch(texture: texture_multisampled_2d<T>  ✗ , location: vec2<i32>  ✓ , sample_index: i32  ✓ ) -> vec4<T>' where:
+      ✗  'T' is 'f32', 'i32' or 'u32'
+ • 'glsl.texelFetch(texture: texture_1d<T>  ✗ , location: i32  ✗ , level: i32  ✓ ) -> vec4<T>' where:
+      ✗  'T' is 'f32', 'i32' or 'u32'
+ • 'glsl.texelFetch(texture: texture_2d_array<T>  ✗ , location: vec3<i32>  ✗ , level: i32  ✓ ) -> vec4<T>' where:
+      ✗  'T' is 'f32', 'i32' or 'u32'
+ • 'glsl.texelFetch(texture: texture_3d<T>  ✗ , location: vec3<i32>  ✗ , level: i32  ✓ ) -> vec4<T>' where:
+      ✗  'T' is 'f32', 'i32' or 'u32'
+
+    %11:f32 = glsl.texelFetch %6, %9, %10
+              ^^^^^^^^^^^^^^^
+
+:11:3 note: in block
+  $B2: {
+  ^^^
+
+note: # Disassembly
+tint_symbol_1 = struct @align(4), @block {
+  tint_symbol:f32 @offset(0)
+}
+
+$B1: {  # root
+  %1:ptr<storage, tint_symbol_1, read_write> = var @binding_point(0, 0)
+  %arg_0:ptr<handle, texture_depth_multisampled_2d, read> = var @binding_point(0, 0)
+}
+
+%textureLoad_6273b1 = func():f32 {
+  $B2: {
+    %arg_1:ptr<function, vec2<i32>, read_write> = var, vec2<i32>(1i)
+    %arg_2:ptr<function, i32, read_write> = var, 1i
+    %6:texture_depth_multisampled_2d = load %arg_0
+    %7:vec2<i32> = load %arg_1
+    %8:i32 = load %arg_2
+    %9:vec2<i32> = convert %7
+    %10:i32 = convert %8
+    %11:f32 = glsl.texelFetch %6, %9, %10
+    %res:ptr<function, f32, read_write> = var, %11
+    %13:f32 = load %res
+    ret %13
+  }
+}
+%compute_main = @compute @workgroup_size(1, 1, 1) func():void {
+  $B3: {
+    %15:f32 = call %textureLoad_6273b1
+    %16:ptr<storage, f32, read_write> = access %1, 0u
+    store %16, %15
+    ret
+  }
+}
+
+
+@group(1) @binding(0) var arg_0 : texture_depth_multisampled_2d;
+
+fn textureLoad_6273b1() -> f32 {
+  var arg_1 = vec2<i32>(1i);
+  var arg_2 = 1i;
+  var res : f32 = textureLoad(arg_0, arg_1, arg_2);
+  return res;
+}
+
+struct VertexOutput {
+  @builtin(position)
+  pos : vec4<f32>,
+  @location(0) @interpolate(flat)
+  prevent_dce : f32,
+}
+
+@vertex
+fn vertex_main() -> VertexOutput {
+  var tint_symbol : VertexOutput;
+  tint_symbol.pos = vec4<f32>();
+  tint_symbol.prevent_dce = textureLoad_6273b1();
+  return tint_symbol;
+}
+
+Failed to generate: :19:15 error: glsl.texelFetch: no matching call to 'glsl.texelFetch(texture_depth_multisampled_2d, vec2<i32>, i32)'
+
+5 candidate functions:
+ • 'glsl.texelFetch(texture: texture_2d<T>  ✗ , location: vec2<i32>  ✓ , level: i32  ✓ ) -> vec4<T>' where:
+      ✗  'T' is 'f32', 'i32' or 'u32'
+ • 'glsl.texelFetch(texture: texture_multisampled_2d<T>  ✗ , location: vec2<i32>  ✓ , sample_index: i32  ✓ ) -> vec4<T>' where:
+      ✗  'T' is 'f32', 'i32' or 'u32'
+ • 'glsl.texelFetch(texture: texture_1d<T>  ✗ , location: i32  ✗ , level: i32  ✓ ) -> vec4<T>' where:
+      ✗  'T' is 'f32', 'i32' or 'u32'
+ • 'glsl.texelFetch(texture: texture_2d_array<T>  ✗ , location: vec3<i32>  ✗ , level: i32  ✓ ) -> vec4<T>' where:
+      ✗  'T' is 'f32', 'i32' or 'u32'
+ • 'glsl.texelFetch(texture: texture_3d<T>  ✗ , location: vec3<i32>  ✗ , level: i32  ✓ ) -> vec4<T>' where:
+      ✗  'T' is 'f32', 'i32' or 'u32'
+
+    %10:f32 = glsl.texelFetch %5, %8, %9
+              ^^^^^^^^^^^^^^^
+
+:11:3 note: in block
+  $B2: {
+  ^^^
+
+note: # Disassembly
+VertexOutput = struct @align(16) {
+  pos:vec4<f32> @offset(0), @builtin(position)
+  prevent_dce:f32 @offset(16), @location(0), @interpolate(flat)
+}
+
+$B1: {  # root
+  %arg_0:ptr<handle, texture_depth_multisampled_2d, read> = var @binding_point(0, 0)
+}
+
+%textureLoad_6273b1 = func():f32 {
+  $B2: {
+    %arg_1:ptr<function, vec2<i32>, read_write> = var, vec2<i32>(1i)
+    %arg_2:ptr<function, i32, read_write> = var, 1i
+    %5:texture_depth_multisampled_2d = load %arg_0
+    %6:vec2<i32> = load %arg_1
+    %7:i32 = load %arg_2
+    %8:vec2<i32> = convert %6
+    %9:i32 = convert %7
+    %10:f32 = glsl.texelFetch %5, %8, %9
+    %res:ptr<function, f32, read_write> = var, %10
+    %12:f32 = load %res
+    ret %12
+  }
+}
+%vertex_main = @vertex func():VertexOutput {
+  $B3: {
+    %tint_symbol:ptr<function, VertexOutput, read_write> = var
+    %15:ptr<function, vec4<f32>, read_write> = access %tint_symbol, 0u
+    store %15, vec4<f32>(0.0f)
+    %16:ptr<function, f32, read_write> = access %tint_symbol, 1u
+    %17:f32 = call %textureLoad_6273b1
+    store %16, %17
+    %18:VertexOutput = load %tint_symbol
+    ret %18
+  }
+}
+
+
+tint executable returned error: exit status 1
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 b475b2e..e7e1106 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,11 +1,96 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  ivec4 tint_symbol;
+} v;
+uniform highp isampler1D arg_0;
+ivec4 textureLoad_62d1de() {
+  int arg_1 = 1;
+  uint arg_2 = 1u;
+  uint v_1 = arg_2;
+  int v_2 = int(arg_1);
+  ivec4 res = texelFetch(arg_0, v_2, int(v_1));
+  return res;
+}
+void main() {
+  v.tint_symbol = textureLoad_62d1de();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:9: 'isampler1D' : Reserved word. 
+ERROR: 0:9: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  ivec4 tint_symbol;
+} v;
+uniform highp isampler1D arg_0;
+ivec4 textureLoad_62d1de() {
+  int arg_1 = 1;
+  uint arg_2 = 1u;
+  uint v_1 = arg_2;
+  int v_2 = int(arg_1);
+  ivec4 res = texelFetch(arg_0, v_2, int(v_1));
+  return res;
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  v.tint_symbol = textureLoad_62d1de();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:7: 'isampler1D' : Reserved word. 
+ERROR: 0:7: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+
+struct VertexOutput {
+  vec4 pos;
+  ivec4 prevent_dce;
+};
+
+uniform highp isampler1D arg_0;
+layout(location = 0) flat out ivec4 vertex_main_loc0_Output;
+ivec4 textureLoad_62d1de() {
+  int arg_1 = 1;
+  uint arg_2 = 1u;
+  uint v = arg_2;
+  int v_1 = int(arg_1);
+  ivec4 res = texelFetch(arg_0, v_1, int(v));
+  return res;
+}
+VertexOutput vertex_main_inner() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), ivec4(0));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = textureLoad_62d1de();
+  return tint_symbol;
+}
+void main() {
+  VertexOutput v_2 = vertex_main_inner();
+  gl_Position = v_2.pos;
+  gl_Position[1u] = -(gl_Position.y);
+  gl_Position[2u] = ((2.0f * gl_Position.z) - gl_Position.w);
+  vertex_main_loc0_Output = v_2.prevent_dce;
+  gl_PointSize = 1.0f;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:9: 'isampler1D' : Reserved word. 
+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/textureLoad/64c372.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/64c372.wgsl.expected.ir.glsl
index 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 b475b2e..9b35312 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,11 +1,90 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  ivec4 tint_symbol;
+} v;
+layout(binding = 0, rgba16i) uniform highp readonly iimage1D arg_0;
+ivec4 textureLoad_6678b6() {
+  int arg_1 = 1;
+  ivec4 res = imageLoad(arg_0, int(arg_1));
+  return res;
+}
+void main() {
+  v.tint_symbol = textureLoad_6678b6();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:9: 'iimage1D' : Reserved word. 
+WARNING: 0:9: 'layout' : useless application of layout qualifier 
+ERROR: 0:9: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  ivec4 tint_symbol;
+} v;
+layout(binding = 0, rgba16i) uniform highp readonly iimage1D arg_0;
+ivec4 textureLoad_6678b6() {
+  int arg_1 = 1;
+  ivec4 res = imageLoad(arg_0, int(arg_1));
+  return res;
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  v.tint_symbol = textureLoad_6678b6();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:7: 'iimage1D' : Reserved word. 
+WARNING: 0:7: 'layout' : useless application of layout qualifier 
+ERROR: 0:7: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+
+struct VertexOutput {
+  vec4 pos;
+  ivec4 prevent_dce;
+};
+
+layout(binding = 0, rgba16i) uniform highp readonly iimage1D arg_0;
+layout(location = 0) flat out ivec4 vertex_main_loc0_Output;
+ivec4 textureLoad_6678b6() {
+  int arg_1 = 1;
+  ivec4 res = imageLoad(arg_0, int(arg_1));
+  return res;
+}
+VertexOutput vertex_main_inner() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), ivec4(0));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = textureLoad_6678b6();
+  return tint_symbol;
+}
+void main() {
+  VertexOutput v = vertex_main_inner();
+  gl_Position = v.pos;
+  gl_Position[1u] = -(gl_Position.y);
+  gl_Position[2u] = ((2.0f * gl_Position.z) - gl_Position.w);
+  vertex_main_loc0_Output = v.prevent_dce;
+  gl_PointSize = 1.0f;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:9: 'iimage1D' : Reserved word. 
+WARNING: 0:9: 'layout' : useless application of layout qualifier 
+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/textureLoad/66be47.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/66be47.wgsl.expected.ir.glsl
index b475b2e..928ec74 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
+<dawn>/src/tint/lang/glsl/writer/raise/builtin_polyfill.cc:469 internal compiler error: TINT_ASSERT(!tex->Type()->Is<core::type::DepthTexture>())
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 b475b2e..0b933f1 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,11 +1,246 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
 
-tint executable returned error: signal: trace/BPT trap
+@group(0) @binding(0) var<storage, read_write> prevent_dce : f32;
+
+@group(1) @binding(0) var arg_0 : texture_depth_multisampled_2d;
+
+fn textureLoad_6925bc() -> f32 {
+  var arg_1 = vec2<i32>(1i);
+  var arg_2 = 1u;
+  var res : f32 = textureLoad(arg_0, arg_1, arg_2);
+  return res;
+}
+
+struct VertexOutput {
+  @builtin(position)
+  pos : vec4<f32>,
+  @location(0) @interpolate(flat)
+  prevent_dce : f32,
+}
+
+@fragment
+fn fragment_main() {
+  prevent_dce = textureLoad_6925bc();
+}
+
+Failed to generate: :19:15 error: glsl.texelFetch: no matching call to 'glsl.texelFetch(texture_depth_multisampled_2d, vec2<i32>, i32)'
+
+5 candidate functions:
+ • 'glsl.texelFetch(texture: texture_2d<T>  ✗ , location: vec2<i32>  ✓ , level: i32  ✓ ) -> vec4<T>' where:
+      ✗  'T' is 'f32', 'i32' or 'u32'
+ • 'glsl.texelFetch(texture: texture_multisampled_2d<T>  ✗ , location: vec2<i32>  ✓ , sample_index: i32  ✓ ) -> vec4<T>' where:
+      ✗  'T' is 'f32', 'i32' or 'u32'
+ • 'glsl.texelFetch(texture: texture_1d<T>  ✗ , location: i32  ✗ , level: i32  ✓ ) -> vec4<T>' where:
+      ✗  'T' is 'f32', 'i32' or 'u32'
+ • 'glsl.texelFetch(texture: texture_2d_array<T>  ✗ , location: vec3<i32>  ✗ , level: i32  ✓ ) -> vec4<T>' where:
+      ✗  'T' is 'f32', 'i32' or 'u32'
+ • 'glsl.texelFetch(texture: texture_3d<T>  ✗ , location: vec3<i32>  ✗ , level: i32  ✓ ) -> vec4<T>' where:
+      ✗  'T' is 'f32', 'i32' or 'u32'
+
+    %11:f32 = glsl.texelFetch %6, %9, %10
+              ^^^^^^^^^^^^^^^
+
+:11:3 note: in block
+  $B2: {
+  ^^^
+
+note: # Disassembly
+tint_symbol_1 = struct @align(4), @block {
+  tint_symbol:f32 @offset(0)
+}
+
+$B1: {  # root
+  %1:ptr<storage, tint_symbol_1, read_write> = var @binding_point(0, 0)
+  %arg_0:ptr<handle, texture_depth_multisampled_2d, read> = var @binding_point(0, 0)
+}
+
+%textureLoad_6925bc = func():f32 {
+  $B2: {
+    %arg_1:ptr<function, vec2<i32>, read_write> = var, vec2<i32>(1i)
+    %arg_2:ptr<function, u32, read_write> = var, 1u
+    %6:texture_depth_multisampled_2d = load %arg_0
+    %7:vec2<i32> = load %arg_1
+    %8:u32 = load %arg_2
+    %9:vec2<i32> = convert %7
+    %10:i32 = convert %8
+    %11:f32 = glsl.texelFetch %6, %9, %10
+    %res:ptr<function, f32, read_write> = var, %11
+    %13:f32 = load %res
+    ret %13
+  }
+}
+%fragment_main = @fragment func():void {
+  $B3: {
+    %15:f32 = call %textureLoad_6925bc
+    %16:ptr<storage, f32, read_write> = access %1, 0u
+    store %16, %15
+    ret
+  }
+}
+
+
+@group(0) @binding(0) var<storage, read_write> prevent_dce : f32;
+
+@group(1) @binding(0) var arg_0 : texture_depth_multisampled_2d;
+
+fn textureLoad_6925bc() -> f32 {
+  var arg_1 = vec2<i32>(1i);
+  var arg_2 = 1u;
+  var res : f32 = textureLoad(arg_0, arg_1, arg_2);
+  return res;
+}
+
+struct VertexOutput {
+  @builtin(position)
+  pos : vec4<f32>,
+  @location(0) @interpolate(flat)
+  prevent_dce : f32,
+}
+
+@compute @workgroup_size(1)
+fn compute_main() {
+  prevent_dce = textureLoad_6925bc();
+}
+
+Failed to generate: :19:15 error: glsl.texelFetch: no matching call to 'glsl.texelFetch(texture_depth_multisampled_2d, vec2<i32>, i32)'
+
+5 candidate functions:
+ • 'glsl.texelFetch(texture: texture_2d<T>  ✗ , location: vec2<i32>  ✓ , level: i32  ✓ ) -> vec4<T>' where:
+      ✗  'T' is 'f32', 'i32' or 'u32'
+ • 'glsl.texelFetch(texture: texture_multisampled_2d<T>  ✗ , location: vec2<i32>  ✓ , sample_index: i32  ✓ ) -> vec4<T>' where:
+      ✗  'T' is 'f32', 'i32' or 'u32'
+ • 'glsl.texelFetch(texture: texture_1d<T>  ✗ , location: i32  ✗ , level: i32  ✓ ) -> vec4<T>' where:
+      ✗  'T' is 'f32', 'i32' or 'u32'
+ • 'glsl.texelFetch(texture: texture_2d_array<T>  ✗ , location: vec3<i32>  ✗ , level: i32  ✓ ) -> vec4<T>' where:
+      ✗  'T' is 'f32', 'i32' or 'u32'
+ • 'glsl.texelFetch(texture: texture_3d<T>  ✗ , location: vec3<i32>  ✗ , level: i32  ✓ ) -> vec4<T>' where:
+      ✗  'T' is 'f32', 'i32' or 'u32'
+
+    %11:f32 = glsl.texelFetch %6, %9, %10
+              ^^^^^^^^^^^^^^^
+
+:11:3 note: in block
+  $B2: {
+  ^^^
+
+note: # Disassembly
+tint_symbol_1 = struct @align(4), @block {
+  tint_symbol:f32 @offset(0)
+}
+
+$B1: {  # root
+  %1:ptr<storage, tint_symbol_1, read_write> = var @binding_point(0, 0)
+  %arg_0:ptr<handle, texture_depth_multisampled_2d, read> = var @binding_point(0, 0)
+}
+
+%textureLoad_6925bc = func():f32 {
+  $B2: {
+    %arg_1:ptr<function, vec2<i32>, read_write> = var, vec2<i32>(1i)
+    %arg_2:ptr<function, u32, read_write> = var, 1u
+    %6:texture_depth_multisampled_2d = load %arg_0
+    %7:vec2<i32> = load %arg_1
+    %8:u32 = load %arg_2
+    %9:vec2<i32> = convert %7
+    %10:i32 = convert %8
+    %11:f32 = glsl.texelFetch %6, %9, %10
+    %res:ptr<function, f32, read_write> = var, %11
+    %13:f32 = load %res
+    ret %13
+  }
+}
+%compute_main = @compute @workgroup_size(1, 1, 1) func():void {
+  $B3: {
+    %15:f32 = call %textureLoad_6925bc
+    %16:ptr<storage, f32, read_write> = access %1, 0u
+    store %16, %15
+    ret
+  }
+}
+
+
+@group(1) @binding(0) var arg_0 : texture_depth_multisampled_2d;
+
+fn textureLoad_6925bc() -> f32 {
+  var arg_1 = vec2<i32>(1i);
+  var arg_2 = 1u;
+  var res : f32 = textureLoad(arg_0, arg_1, arg_2);
+  return res;
+}
+
+struct VertexOutput {
+  @builtin(position)
+  pos : vec4<f32>,
+  @location(0) @interpolate(flat)
+  prevent_dce : f32,
+}
+
+@vertex
+fn vertex_main() -> VertexOutput {
+  var tint_symbol : VertexOutput;
+  tint_symbol.pos = vec4<f32>();
+  tint_symbol.prevent_dce = textureLoad_6925bc();
+  return tint_symbol;
+}
+
+Failed to generate: :19:15 error: glsl.texelFetch: no matching call to 'glsl.texelFetch(texture_depth_multisampled_2d, vec2<i32>, i32)'
+
+5 candidate functions:
+ • 'glsl.texelFetch(texture: texture_2d<T>  ✗ , location: vec2<i32>  ✓ , level: i32  ✓ ) -> vec4<T>' where:
+      ✗  'T' is 'f32', 'i32' or 'u32'
+ • 'glsl.texelFetch(texture: texture_multisampled_2d<T>  ✗ , location: vec2<i32>  ✓ , sample_index: i32  ✓ ) -> vec4<T>' where:
+      ✗  'T' is 'f32', 'i32' or 'u32'
+ • 'glsl.texelFetch(texture: texture_1d<T>  ✗ , location: i32  ✗ , level: i32  ✓ ) -> vec4<T>' where:
+      ✗  'T' is 'f32', 'i32' or 'u32'
+ • 'glsl.texelFetch(texture: texture_2d_array<T>  ✗ , location: vec3<i32>  ✗ , level: i32  ✓ ) -> vec4<T>' where:
+      ✗  'T' is 'f32', 'i32' or 'u32'
+ • 'glsl.texelFetch(texture: texture_3d<T>  ✗ , location: vec3<i32>  ✗ , level: i32  ✓ ) -> vec4<T>' where:
+      ✗  'T' is 'f32', 'i32' or 'u32'
+
+    %10:f32 = glsl.texelFetch %5, %8, %9
+              ^^^^^^^^^^^^^^^
+
+:11:3 note: in block
+  $B2: {
+  ^^^
+
+note: # Disassembly
+VertexOutput = struct @align(16) {
+  pos:vec4<f32> @offset(0), @builtin(position)
+  prevent_dce:f32 @offset(16), @location(0), @interpolate(flat)
+}
+
+$B1: {  # root
+  %arg_0:ptr<handle, texture_depth_multisampled_2d, read> = var @binding_point(0, 0)
+}
+
+%textureLoad_6925bc = func():f32 {
+  $B2: {
+    %arg_1:ptr<function, vec2<i32>, read_write> = var, vec2<i32>(1i)
+    %arg_2:ptr<function, u32, read_write> = var, 1u
+    %5:texture_depth_multisampled_2d = load %arg_0
+    %6:vec2<i32> = load %arg_1
+    %7:u32 = load %arg_2
+    %8:vec2<i32> = convert %6
+    %9:i32 = convert %7
+    %10:f32 = glsl.texelFetch %5, %8, %9
+    %res:ptr<function, f32, read_write> = var, %10
+    %12:f32 = load %res
+    ret %12
+  }
+}
+%vertex_main = @vertex func():VertexOutput {
+  $B3: {
+    %tint_symbol:ptr<function, VertexOutput, read_write> = var
+    %15:ptr<function, vec4<f32>, read_write> = access %tint_symbol, 0u
+    store %15, vec4<f32>(0.0f)
+    %16:ptr<function, f32, read_write> = access %tint_symbol, 1u
+    %17:f32 = call %textureLoad_6925bc
+    store %16, %17
+    %18:VertexOutput = load %tint_symbol
+    ret %18
+  }
+}
+
+
+tint executable returned error: exit status 1
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 b475b2e..c28a5ba 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,11 +1,96 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  uvec4 tint_symbol;
+} v;
+uniform highp usampler1D arg_0;
+uvec4 textureLoad_6b77d4() {
+  int arg_1 = 1;
+  uint arg_2 = 1u;
+  uint v_1 = arg_2;
+  int v_2 = int(arg_1);
+  uvec4 res = texelFetch(arg_0, v_2, int(v_1));
+  return res;
+}
+void main() {
+  v.tint_symbol = textureLoad_6b77d4();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:9: 'usampler1D' : Reserved word. 
+ERROR: 0:9: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  uvec4 tint_symbol;
+} v;
+uniform highp usampler1D arg_0;
+uvec4 textureLoad_6b77d4() {
+  int arg_1 = 1;
+  uint arg_2 = 1u;
+  uint v_1 = arg_2;
+  int v_2 = int(arg_1);
+  uvec4 res = texelFetch(arg_0, v_2, int(v_1));
+  return res;
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  v.tint_symbol = textureLoad_6b77d4();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:7: 'usampler1D' : Reserved word. 
+ERROR: 0:7: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+
+struct VertexOutput {
+  vec4 pos;
+  uvec4 prevent_dce;
+};
+
+uniform highp usampler1D arg_0;
+layout(location = 0) flat out uvec4 vertex_main_loc0_Output;
+uvec4 textureLoad_6b77d4() {
+  int arg_1 = 1;
+  uint arg_2 = 1u;
+  uint v = arg_2;
+  int v_1 = int(arg_1);
+  uvec4 res = texelFetch(arg_0, v_1, int(v));
+  return res;
+}
+VertexOutput vertex_main_inner() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), uvec4(0u));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = textureLoad_6b77d4();
+  return tint_symbol;
+}
+void main() {
+  VertexOutput v_2 = vertex_main_inner();
+  gl_Position = v_2.pos;
+  gl_Position[1u] = -(gl_Position.y);
+  gl_Position[2u] = ((2.0f * gl_Position.z) - gl_Position.w);
+  vertex_main_loc0_Output = v_2.prevent_dce;
+  gl_PointSize = 1.0f;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:9: 'usampler1D' : Reserved word. 
+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/textureLoad/6b8ba6.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/6b8ba6.wgsl.expected.ir.glsl
index 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 023772f..6338d00 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:994 internal compiler error: bgra8unorm should have been polyfilled to rgba8unorm
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 b475b2e..b2a5469 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,11 +1,96 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  vec4 tint_symbol;
+} v;
+uniform highp sampler1D arg_0;
+vec4 textureLoad_6d376a() {
+  uint arg_1 = 1u;
+  uint arg_2 = 1u;
+  uint v_1 = arg_2;
+  int v_2 = int(arg_1);
+  vec4 res = texelFetch(arg_0, v_2, int(v_1));
+  return res;
+}
+void main() {
+  v.tint_symbol = textureLoad_6d376a();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:9: 'sampler1D' : Reserved word. 
+ERROR: 0:9: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  vec4 tint_symbol;
+} v;
+uniform highp sampler1D arg_0;
+vec4 textureLoad_6d376a() {
+  uint arg_1 = 1u;
+  uint arg_2 = 1u;
+  uint v_1 = arg_2;
+  int v_2 = int(arg_1);
+  vec4 res = texelFetch(arg_0, v_2, int(v_1));
+  return res;
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  v.tint_symbol = textureLoad_6d376a();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:7: 'sampler1D' : Reserved word. 
+ERROR: 0:7: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+uniform highp sampler1D arg_0;
+layout(location = 0) flat out vec4 vertex_main_loc0_Output;
+vec4 textureLoad_6d376a() {
+  uint arg_1 = 1u;
+  uint arg_2 = 1u;
+  uint v = arg_2;
+  int v_1 = int(arg_1);
+  vec4 res = texelFetch(arg_0, v_1, int(v));
+  return res;
+}
+VertexOutput vertex_main_inner() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = textureLoad_6d376a();
+  return tint_symbol;
+}
+void main() {
+  VertexOutput v_2 = vertex_main_inner();
+  gl_Position = v_2.pos;
+  gl_Position[1u] = -(gl_Position.y);
+  gl_Position[2u] = ((2.0f * gl_Position.z) - gl_Position.w);
+  vertex_main_loc0_Output = v_2.prevent_dce;
+  gl_PointSize = 1.0f;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:9: 'sampler1D' : Reserved word. 
+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/textureLoad/6d7bb5.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/6d7bb5.wgsl.expected.ir.glsl
index 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 b475b2e..928ec74 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
+<dawn>/src/tint/lang/glsl/writer/raise/builtin_polyfill.cc:469 internal compiler error: TINT_ASSERT(!tex->Type()->Is<core::type::DepthTexture>())
 ********************************************************************
 *  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 023772f..6338d00 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:994 internal compiler error: bgra8unorm should have been polyfilled to rgba8unorm
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 b475b2e..928ec74 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
+<dawn>/src/tint/lang/glsl/writer/raise/builtin_polyfill.cc:469 internal compiler error: TINT_ASSERT(!tex->Type()->Is<core::type::DepthTexture>())
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 b475b2e..e5bd31f 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,11 +1,96 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  vec4 tint_symbol;
+} v;
+uniform highp sampler1D arg_0;
+vec4 textureLoad_81c381() {
+  int arg_1 = 1;
+  int arg_2 = 1;
+  int v_1 = arg_2;
+  int v_2 = int(arg_1);
+  vec4 res = texelFetch(arg_0, v_2, int(v_1));
+  return res;
+}
+void main() {
+  v.tint_symbol = textureLoad_81c381();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:9: 'sampler1D' : Reserved word. 
+ERROR: 0:9: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  vec4 tint_symbol;
+} v;
+uniform highp sampler1D arg_0;
+vec4 textureLoad_81c381() {
+  int arg_1 = 1;
+  int arg_2 = 1;
+  int v_1 = arg_2;
+  int v_2 = int(arg_1);
+  vec4 res = texelFetch(arg_0, v_2, int(v_1));
+  return res;
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  v.tint_symbol = textureLoad_81c381();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:7: 'sampler1D' : Reserved word. 
+ERROR: 0:7: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+uniform highp sampler1D arg_0;
+layout(location = 0) flat out vec4 vertex_main_loc0_Output;
+vec4 textureLoad_81c381() {
+  int arg_1 = 1;
+  int arg_2 = 1;
+  int v = arg_2;
+  int v_1 = int(arg_1);
+  vec4 res = texelFetch(arg_0, v_1, int(v));
+  return res;
+}
+VertexOutput vertex_main_inner() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = textureLoad_81c381();
+  return tint_symbol;
+}
+void main() {
+  VertexOutput v_2 = vertex_main_inner();
+  gl_Position = v_2.pos;
+  gl_Position[1u] = -(gl_Position.y);
+  gl_Position[2u] = ((2.0f * gl_Position.z) - gl_Position.w);
+  vertex_main_loc0_Output = v_2.prevent_dce;
+  gl_PointSize = 1.0f;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:9: 'sampler1D' : Reserved word. 
+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/textureLoad/83cea4.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/83cea4.wgsl.expected.ir.glsl
index b475b2e..b700718 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,11 +1,90 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  uvec4 tint_symbol;
+} v;
+layout(binding = 0, rgba16ui) uniform highp readonly uimage1D arg_0;
+uvec4 textureLoad_83cea4() {
+  int arg_1 = 1;
+  uvec4 res = imageLoad(arg_0, int(arg_1));
+  return res;
+}
+void main() {
+  v.tint_symbol = textureLoad_83cea4();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:9: 'uimage1D' : Reserved word. 
+WARNING: 0:9: 'layout' : useless application of layout qualifier 
+ERROR: 0:9: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  uvec4 tint_symbol;
+} v;
+layout(binding = 0, rgba16ui) uniform highp readonly uimage1D arg_0;
+uvec4 textureLoad_83cea4() {
+  int arg_1 = 1;
+  uvec4 res = imageLoad(arg_0, int(arg_1));
+  return res;
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  v.tint_symbol = textureLoad_83cea4();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:7: 'uimage1D' : Reserved word. 
+WARNING: 0:7: 'layout' : useless application of layout qualifier 
+ERROR: 0:7: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+
+struct VertexOutput {
+  vec4 pos;
+  uvec4 prevent_dce;
+};
+
+layout(binding = 0, rgba16ui) uniform highp readonly uimage1D arg_0;
+layout(location = 0) flat out uvec4 vertex_main_loc0_Output;
+uvec4 textureLoad_83cea4() {
+  int arg_1 = 1;
+  uvec4 res = imageLoad(arg_0, int(arg_1));
+  return res;
+}
+VertexOutput vertex_main_inner() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), uvec4(0u));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = textureLoad_83cea4();
+  return tint_symbol;
+}
+void main() {
+  VertexOutput v = vertex_main_inner();
+  gl_Position = v.pos;
+  gl_Position[1u] = -(gl_Position.y);
+  gl_Position[2u] = ((2.0f * gl_Position.z) - gl_Position.w);
+  vertex_main_loc0_Output = v.prevent_dce;
+  gl_PointSize = 1.0f;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:9: 'uimage1D' : Reserved word. 
+WARNING: 0:9: 'layout' : useless application of layout qualifier 
+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/textureLoad/83d6e3.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/83d6e3.wgsl.expected.ir.glsl
index b475b2e..f551cec 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,11 +1,53 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  uvec4 tint_symbol;
+} v;
+layout(binding = 0, r32ui) uniform highp uimage1D arg_0;
+uvec4 textureLoad_83d6e3() {
+  int arg_1 = 1;
+  uvec4 res = imageLoad(arg_0, int(arg_1));
+  return res;
+}
+void main() {
+  v.tint_symbol = textureLoad_83d6e3();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:9: 'uimage1D' : Reserved word. 
+WARNING: 0:9: 'layout' : useless application of layout qualifier 
+ERROR: 0:9: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  uvec4 tint_symbol;
+} v;
+layout(binding = 0, r32ui) uniform highp uimage1D arg_0;
+uvec4 textureLoad_83d6e3() {
+  int arg_1 = 1;
+  uvec4 res = imageLoad(arg_0, int(arg_1));
+  return res;
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  v.tint_symbol = textureLoad_83d6e3();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:7: 'uimage1D' : Reserved word. 
+WARNING: 0:7: 'layout' : useless application of layout qualifier 
+ERROR: 0:7: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 b475b2e..82a6313 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,11 +1,90 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  vec4 tint_symbol;
+} v;
+layout(binding = 0, rgba32f) uniform highp readonly image1D arg_0;
+vec4 textureLoad_84c728() {
+  uint arg_1 = 1u;
+  vec4 res = imageLoad(arg_0, int(arg_1));
+  return res;
+}
+void main() {
+  v.tint_symbol = textureLoad_84c728();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:9: 'image1D' : Reserved word. 
+WARNING: 0:9: 'layout' : useless application of layout qualifier 
+ERROR: 0:9: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  vec4 tint_symbol;
+} v;
+layout(binding = 0, rgba32f) uniform highp readonly image1D arg_0;
+vec4 textureLoad_84c728() {
+  uint arg_1 = 1u;
+  vec4 res = imageLoad(arg_0, int(arg_1));
+  return res;
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  v.tint_symbol = textureLoad_84c728();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:7: 'image1D' : Reserved word. 
+WARNING: 0:7: 'layout' : useless application of layout qualifier 
+ERROR: 0:7: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+layout(binding = 0, rgba32f) uniform highp readonly image1D arg_0;
+layout(location = 0) flat out vec4 vertex_main_loc0_Output;
+vec4 textureLoad_84c728() {
+  uint arg_1 = 1u;
+  vec4 res = imageLoad(arg_0, int(arg_1));
+  return res;
+}
+VertexOutput vertex_main_inner() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = textureLoad_84c728();
+  return tint_symbol;
+}
+void main() {
+  VertexOutput v = vertex_main_inner();
+  gl_Position = v.pos;
+  gl_Position[1u] = -(gl_Position.y);
+  gl_Position[2u] = ((2.0f * gl_Position.z) - gl_Position.w);
+  vertex_main_loc0_Output = v.prevent_dce;
+  gl_PointSize = 1.0f;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:9: 'image1D' : Reserved word. 
+WARNING: 0:9: 'layout' : useless application of layout qualifier 
+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/textureLoad/878e24.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/878e24.wgsl.expected.ir.glsl
index 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 023772f..6338d00 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:994 internal compiler error: bgra8unorm should have been polyfilled to rgba8unorm
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 b475b2e..86580bc 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,11 +1,53 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  vec4 tint_symbol;
+} v;
+layout(binding = 0, r32f) uniform highp image1D arg_0;
+vec4 textureLoad_8bf8c2() {
+  uint arg_1 = 1u;
+  vec4 res = imageLoad(arg_0, int(arg_1));
+  return res;
+}
+void main() {
+  v.tint_symbol = textureLoad_8bf8c2();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:9: 'image1D' : Reserved word. 
+WARNING: 0:9: 'layout' : useless application of layout qualifier 
+ERROR: 0:9: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  vec4 tint_symbol;
+} v;
+layout(binding = 0, r32f) uniform highp image1D arg_0;
+vec4 textureLoad_8bf8c2() {
+  uint arg_1 = 1u;
+  vec4 res = imageLoad(arg_0, int(arg_1));
+  return res;
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  v.tint_symbol = textureLoad_8bf8c2();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:7: 'image1D' : Reserved word. 
+WARNING: 0:7: 'layout' : useless application of layout qualifier 
+ERROR: 0:7: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 b475b2e..928ec74 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
+<dawn>/src/tint/lang/glsl/writer/raise/builtin_polyfill.cc:469 internal compiler error: TINT_ASSERT(!tex->Type()->Is<core::type::DepthTexture>())
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 b475b2e..928ec74 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
+<dawn>/src/tint/lang/glsl/writer/raise/builtin_polyfill.cc:469 internal compiler error: TINT_ASSERT(!tex->Type()->Is<core::type::DepthTexture>())
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 b475b2e..928ec74 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
+<dawn>/src/tint/lang/glsl/writer/raise/builtin_polyfill.cc:469 internal compiler error: TINT_ASSERT(!tex->Type()->Is<core::type::DepthTexture>())
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 b475b2e..2d5f57c 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,11 +1,53 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  uvec4 tint_symbol;
+} v;
+layout(binding = 0, r32ui) uniform highp uimage1D arg_0;
+uvec4 textureLoad_ad551e() {
+  uint arg_1 = 1u;
+  uvec4 res = imageLoad(arg_0, int(arg_1));
+  return res;
+}
+void main() {
+  v.tint_symbol = textureLoad_ad551e();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:9: 'uimage1D' : Reserved word. 
+WARNING: 0:9: 'layout' : useless application of layout qualifier 
+ERROR: 0:9: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  uvec4 tint_symbol;
+} v;
+layout(binding = 0, r32ui) uniform highp uimage1D arg_0;
+uvec4 textureLoad_ad551e() {
+  uint arg_1 = 1u;
+  uvec4 res = imageLoad(arg_0, int(arg_1));
+  return res;
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  v.tint_symbol = textureLoad_ad551e();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:7: 'uimage1D' : Reserved word. 
+WARNING: 0:7: 'layout' : useless application of layout qualifier 
+ERROR: 0:7: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 b475b2e..58b1f2d 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,11 +1,90 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  uvec4 tint_symbol;
+} v;
+layout(binding = 0, rgba16ui) uniform highp readonly uimage1D arg_0;
+uvec4 textureLoad_aebc09() {
+  uint arg_1 = 1u;
+  uvec4 res = imageLoad(arg_0, int(arg_1));
+  return res;
+}
+void main() {
+  v.tint_symbol = textureLoad_aebc09();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:9: 'uimage1D' : Reserved word. 
+WARNING: 0:9: 'layout' : useless application of layout qualifier 
+ERROR: 0:9: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  uvec4 tint_symbol;
+} v;
+layout(binding = 0, rgba16ui) uniform highp readonly uimage1D arg_0;
+uvec4 textureLoad_aebc09() {
+  uint arg_1 = 1u;
+  uvec4 res = imageLoad(arg_0, int(arg_1));
+  return res;
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  v.tint_symbol = textureLoad_aebc09();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:7: 'uimage1D' : Reserved word. 
+WARNING: 0:7: 'layout' : useless application of layout qualifier 
+ERROR: 0:7: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+
+struct VertexOutput {
+  vec4 pos;
+  uvec4 prevent_dce;
+};
+
+layout(binding = 0, rgba16ui) uniform highp readonly uimage1D arg_0;
+layout(location = 0) flat out uvec4 vertex_main_loc0_Output;
+uvec4 textureLoad_aebc09() {
+  uint arg_1 = 1u;
+  uvec4 res = imageLoad(arg_0, int(arg_1));
+  return res;
+}
+VertexOutput vertex_main_inner() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), uvec4(0u));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = textureLoad_aebc09();
+  return tint_symbol;
+}
+void main() {
+  VertexOutput v = vertex_main_inner();
+  gl_Position = v.pos;
+  gl_Position[1u] = -(gl_Position.y);
+  gl_Position[2u] = ((2.0f * gl_Position.z) - gl_Position.w);
+  vertex_main_loc0_Output = v.prevent_dce;
+  gl_PointSize = 1.0f;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:9: 'uimage1D' : Reserved word. 
+WARNING: 0:9: 'layout' : useless application of layout qualifier 
+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/textureLoad/b60a86.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/b60a86.wgsl.expected.ir.glsl
index 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 023772f..6338d00 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:994 internal compiler error: bgra8unorm should have been polyfilled to rgba8unorm
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 b475b2e..928ec74 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
+<dawn>/src/tint/lang/glsl/writer/raise/builtin_polyfill.cc:469 internal compiler error: TINT_ASSERT(!tex->Type()->Is<core::type::DepthTexture>())
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 3910173..eba1f91 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,11 +1,90 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:994 internal compiler error: bgra8unorm should have been polyfilled to rgba8unorm
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  vec4 tint_symbol;
+} v;
+layout(binding = 0, rgba8) uniform highp readonly image1D arg_0;
+vec4 textureLoad_b7f74f() {
+  uint arg_1 = 1u;
+  vec4 res = imageLoad(arg_0, int(arg_1)).zyxw;
+  return res;
+}
+void main() {
+  v.tint_symbol = textureLoad_b7f74f();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:9: 'image1D' : Reserved word. 
+WARNING: 0:9: 'layout' : useless application of layout qualifier 
+ERROR: 0:9: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  vec4 tint_symbol;
+} v;
+layout(binding = 0, rgba8) uniform highp readonly image1D arg_0;
+vec4 textureLoad_b7f74f() {
+  uint arg_1 = 1u;
+  vec4 res = imageLoad(arg_0, int(arg_1)).zyxw;
+  return res;
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  v.tint_symbol = textureLoad_b7f74f();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:7: 'image1D' : Reserved word. 
+WARNING: 0:7: 'layout' : useless application of layout qualifier 
+ERROR: 0:7: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+layout(binding = 0, rgba8) uniform highp readonly image1D arg_0;
+layout(location = 0) flat out vec4 vertex_main_loc0_Output;
+vec4 textureLoad_b7f74f() {
+  uint arg_1 = 1u;
+  vec4 res = imageLoad(arg_0, int(arg_1)).zyxw;
+  return res;
+}
+VertexOutput vertex_main_inner() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = textureLoad_b7f74f();
+  return tint_symbol;
+}
+void main() {
+  VertexOutput v = vertex_main_inner();
+  gl_Position = v.pos;
+  gl_Position[1u] = -(gl_Position.y);
+  gl_Position[2u] = ((2.0f * gl_Position.z) - gl_Position.w);
+  vertex_main_loc0_Output = v.prevent_dce;
+  gl_PointSize = 1.0f;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:9: 'image1D' : Reserved word. 
+WARNING: 0:9: 'layout' : useless application of layout qualifier 
+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/textureLoad/ba74b2.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/ba74b2.wgsl.expected.ir.glsl
index 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 b475b2e..1df1c3e 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,11 +1,96 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  uvec4 tint_symbol;
+} v;
+uniform highp usampler1D arg_0;
+uvec4 textureLoad_bc3201() {
+  uint arg_1 = 1u;
+  uint arg_2 = 1u;
+  uint v_1 = arg_2;
+  int v_2 = int(arg_1);
+  uvec4 res = texelFetch(arg_0, v_2, int(v_1));
+  return res;
+}
+void main() {
+  v.tint_symbol = textureLoad_bc3201();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:9: 'usampler1D' : Reserved word. 
+ERROR: 0:9: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  uvec4 tint_symbol;
+} v;
+uniform highp usampler1D arg_0;
+uvec4 textureLoad_bc3201() {
+  uint arg_1 = 1u;
+  uint arg_2 = 1u;
+  uint v_1 = arg_2;
+  int v_2 = int(arg_1);
+  uvec4 res = texelFetch(arg_0, v_2, int(v_1));
+  return res;
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  v.tint_symbol = textureLoad_bc3201();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:7: 'usampler1D' : Reserved word. 
+ERROR: 0:7: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+
+struct VertexOutput {
+  vec4 pos;
+  uvec4 prevent_dce;
+};
+
+uniform highp usampler1D arg_0;
+layout(location = 0) flat out uvec4 vertex_main_loc0_Output;
+uvec4 textureLoad_bc3201() {
+  uint arg_1 = 1u;
+  uint arg_2 = 1u;
+  uint v = arg_2;
+  int v_1 = int(arg_1);
+  uvec4 res = texelFetch(arg_0, v_1, int(v));
+  return res;
+}
+VertexOutput vertex_main_inner() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), uvec4(0u));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = textureLoad_bc3201();
+  return tint_symbol;
+}
+void main() {
+  VertexOutput v_2 = vertex_main_inner();
+  gl_Position = v_2.pos;
+  gl_Position[1u] = -(gl_Position.y);
+  gl_Position[2u] = ((2.0f * gl_Position.z) - gl_Position.w);
+  vertex_main_loc0_Output = v_2.prevent_dce;
+  gl_PointSize = 1.0f;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:9: 'usampler1D' : Reserved word. 
+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/textureLoad/bd990a.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/bd990a.wgsl.expected.ir.glsl
index 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 b475b2e..20cb47c 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,11 +1,90 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  vec4 tint_symbol;
+} v;
+layout(binding = 0, rgba16f) uniform highp readonly image1D arg_0;
+vec4 textureLoad_c02b74() {
+  int arg_1 = 1;
+  vec4 res = imageLoad(arg_0, int(arg_1));
+  return res;
+}
+void main() {
+  v.tint_symbol = textureLoad_c02b74();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:9: 'image1D' : Reserved word. 
+WARNING: 0:9: 'layout' : useless application of layout qualifier 
+ERROR: 0:9: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  vec4 tint_symbol;
+} v;
+layout(binding = 0, rgba16f) uniform highp readonly image1D arg_0;
+vec4 textureLoad_c02b74() {
+  int arg_1 = 1;
+  vec4 res = imageLoad(arg_0, int(arg_1));
+  return res;
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  v.tint_symbol = textureLoad_c02b74();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:7: 'image1D' : Reserved word. 
+WARNING: 0:7: 'layout' : useless application of layout qualifier 
+ERROR: 0:7: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+layout(binding = 0, rgba16f) uniform highp readonly image1D arg_0;
+layout(location = 0) flat out vec4 vertex_main_loc0_Output;
+vec4 textureLoad_c02b74() {
+  int arg_1 = 1;
+  vec4 res = imageLoad(arg_0, int(arg_1));
+  return res;
+}
+VertexOutput vertex_main_inner() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = textureLoad_c02b74();
+  return tint_symbol;
+}
+void main() {
+  VertexOutput v = vertex_main_inner();
+  gl_Position = v.pos;
+  gl_Position[1u] = -(gl_Position.y);
+  gl_Position[2u] = ((2.0f * gl_Position.z) - gl_Position.w);
+  vertex_main_loc0_Output = v.prevent_dce;
+  gl_PointSize = 1.0f;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:9: 'image1D' : Reserved word. 
+WARNING: 0:9: 'layout' : useless application of layout qualifier 
+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/textureLoad/c16e00.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/c16e00.wgsl.expected.ir.glsl
index b475b2e..928ec74 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
+<dawn>/src/tint/lang/glsl/writer/raise/builtin_polyfill.cc:469 internal compiler error: TINT_ASSERT(!tex->Type()->Is<core::type::DepthTexture>())
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 b475b2e..dd37d35 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,11 +1,90 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  vec4 tint_symbol;
+} v;
+layout(binding = 0, r32f) uniform highp readonly image1D arg_0;
+vec4 textureLoad_c7cbed() {
+  int arg_1 = 1;
+  vec4 res = imageLoad(arg_0, int(arg_1));
+  return res;
+}
+void main() {
+  v.tint_symbol = textureLoad_c7cbed();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:9: 'image1D' : Reserved word. 
+WARNING: 0:9: 'layout' : useless application of layout qualifier 
+ERROR: 0:9: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  vec4 tint_symbol;
+} v;
+layout(binding = 0, r32f) uniform highp readonly image1D arg_0;
+vec4 textureLoad_c7cbed() {
+  int arg_1 = 1;
+  vec4 res = imageLoad(arg_0, int(arg_1));
+  return res;
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  v.tint_symbol = textureLoad_c7cbed();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:7: 'image1D' : Reserved word. 
+WARNING: 0:7: 'layout' : useless application of layout qualifier 
+ERROR: 0:7: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+layout(binding = 0, r32f) uniform highp readonly image1D arg_0;
+layout(location = 0) flat out vec4 vertex_main_loc0_Output;
+vec4 textureLoad_c7cbed() {
+  int arg_1 = 1;
+  vec4 res = imageLoad(arg_0, int(arg_1));
+  return res;
+}
+VertexOutput vertex_main_inner() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = textureLoad_c7cbed();
+  return tint_symbol;
+}
+void main() {
+  VertexOutput v = vertex_main_inner();
+  gl_Position = v.pos;
+  gl_Position[1u] = -(gl_Position.y);
+  gl_Position[2u] = ((2.0f * gl_Position.z) - gl_Position.w);
+  vertex_main_loc0_Output = v.prevent_dce;
+  gl_PointSize = 1.0f;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:9: 'image1D' : Reserved word. 
+WARNING: 0:9: 'layout' : useless application of layout qualifier 
+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/textureLoad/c7e313.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/c7e313.wgsl.expected.ir.glsl
index 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 b475b2e..c6d46bc 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,11 +1,53 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  ivec4 tint_symbol;
+} v;
+layout(binding = 0, r32i) uniform highp iimage1D arg_0;
+ivec4 textureLoad_c80691() {
+  uint arg_1 = 1u;
+  ivec4 res = imageLoad(arg_0, int(arg_1));
+  return res;
+}
+void main() {
+  v.tint_symbol = textureLoad_c80691();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:9: 'iimage1D' : Reserved word. 
+WARNING: 0:9: 'layout' : useless application of layout qualifier 
+ERROR: 0:9: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  ivec4 tint_symbol;
+} v;
+layout(binding = 0, r32i) uniform highp iimage1D arg_0;
+ivec4 textureLoad_c80691() {
+  uint arg_1 = 1u;
+  ivec4 res = imageLoad(arg_0, int(arg_1));
+  return res;
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  v.tint_symbol = textureLoad_c80691();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:7: 'iimage1D' : Reserved word. 
+WARNING: 0:7: 'layout' : useless application of layout qualifier 
+ERROR: 0:7: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 b475b2e..5ea249b 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,11 +1,90 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  ivec4 tint_symbol;
+} v;
+layout(binding = 0, rgba8i) uniform highp readonly iimage1D arg_0;
+ivec4 textureLoad_c9cc40() {
+  int arg_1 = 1;
+  ivec4 res = imageLoad(arg_0, int(arg_1));
+  return res;
+}
+void main() {
+  v.tint_symbol = textureLoad_c9cc40();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:9: 'iimage1D' : Reserved word. 
+WARNING: 0:9: 'layout' : useless application of layout qualifier 
+ERROR: 0:9: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  ivec4 tint_symbol;
+} v;
+layout(binding = 0, rgba8i) uniform highp readonly iimage1D arg_0;
+ivec4 textureLoad_c9cc40() {
+  int arg_1 = 1;
+  ivec4 res = imageLoad(arg_0, int(arg_1));
+  return res;
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  v.tint_symbol = textureLoad_c9cc40();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:7: 'iimage1D' : Reserved word. 
+WARNING: 0:7: 'layout' : useless application of layout qualifier 
+ERROR: 0:7: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+
+struct VertexOutput {
+  vec4 pos;
+  ivec4 prevent_dce;
+};
+
+layout(binding = 0, rgba8i) uniform highp readonly iimage1D arg_0;
+layout(location = 0) flat out ivec4 vertex_main_loc0_Output;
+ivec4 textureLoad_c9cc40() {
+  int arg_1 = 1;
+  ivec4 res = imageLoad(arg_0, int(arg_1));
+  return res;
+}
+VertexOutput vertex_main_inner() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), ivec4(0));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = textureLoad_c9cc40();
+  return tint_symbol;
+}
+void main() {
+  VertexOutput v = vertex_main_inner();
+  gl_Position = v.pos;
+  gl_Position[1u] = -(gl_Position.y);
+  gl_Position[2u] = ((2.0f * gl_Position.z) - gl_Position.w);
+  vertex_main_loc0_Output = v.prevent_dce;
+  gl_PointSize = 1.0f;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:9: 'iimage1D' : Reserved word. 
+WARNING: 0:9: 'layout' : useless application of layout qualifier 
+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/textureLoad/c9f310.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/c9f310.wgsl.expected.ir.glsl
index b475b2e..c54a646 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,11 +1,53 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  ivec4 tint_symbol;
+} v;
+layout(binding = 0, r32i) uniform highp iimage1D arg_0;
+ivec4 textureLoad_c9f310() {
+  int arg_1 = 1;
+  ivec4 res = imageLoad(arg_0, int(arg_1));
+  return res;
+}
+void main() {
+  v.tint_symbol = textureLoad_c9f310();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:9: 'iimage1D' : Reserved word. 
+WARNING: 0:9: 'layout' : useless application of layout qualifier 
+ERROR: 0:9: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  ivec4 tint_symbol;
+} v;
+layout(binding = 0, r32i) uniform highp iimage1D arg_0;
+ivec4 textureLoad_c9f310() {
+  int arg_1 = 1;
+  ivec4 res = imageLoad(arg_0, int(arg_1));
+  return res;
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  v.tint_symbol = textureLoad_c9f310();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:7: 'iimage1D' : Reserved word. 
+WARNING: 0:7: 'layout' : useless application of layout qualifier 
+ERROR: 0:7: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 b475b2e..928ec74 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
+<dawn>/src/tint/lang/glsl/writer/raise/builtin_polyfill.cc:469 internal compiler error: TINT_ASSERT(!tex->Type()->Is<core::type::DepthTexture>())
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 3910173..8b84ece 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,11 +1,90 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:994 internal compiler error: bgra8unorm should have been polyfilled to rgba8unorm
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  vec4 tint_symbol;
+} v;
+layout(binding = 0, rgba8) uniform highp readonly image1D arg_0;
+vec4 textureLoad_d357bb() {
+  int arg_1 = 1;
+  vec4 res = imageLoad(arg_0, int(arg_1)).zyxw;
+  return res;
+}
+void main() {
+  v.tint_symbol = textureLoad_d357bb();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:9: 'image1D' : Reserved word. 
+WARNING: 0:9: 'layout' : useless application of layout qualifier 
+ERROR: 0:9: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  vec4 tint_symbol;
+} v;
+layout(binding = 0, rgba8) uniform highp readonly image1D arg_0;
+vec4 textureLoad_d357bb() {
+  int arg_1 = 1;
+  vec4 res = imageLoad(arg_0, int(arg_1)).zyxw;
+  return res;
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  v.tint_symbol = textureLoad_d357bb();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:7: 'image1D' : Reserved word. 
+WARNING: 0:7: 'layout' : useless application of layout qualifier 
+ERROR: 0:7: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+layout(binding = 0, rgba8) uniform highp readonly image1D arg_0;
+layout(location = 0) flat out vec4 vertex_main_loc0_Output;
+vec4 textureLoad_d357bb() {
+  int arg_1 = 1;
+  vec4 res = imageLoad(arg_0, int(arg_1)).zyxw;
+  return res;
+}
+VertexOutput vertex_main_inner() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = textureLoad_d357bb();
+  return tint_symbol;
+}
+void main() {
+  VertexOutput v = vertex_main_inner();
+  gl_Position = v.pos;
+  gl_Position[1u] = -(gl_Position.y);
+  gl_Position[2u] = ((2.0f * gl_Position.z) - gl_Position.w);
+  vertex_main_loc0_Output = v.prevent_dce;
+  gl_PointSize = 1.0f;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:9: 'image1D' : Reserved word. 
+WARNING: 0:9: 'layout' : useless application of layout qualifier 
+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/textureLoad/d37a08.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/d37a08.wgsl.expected.ir.glsl
index 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 023772f..6338d00 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:994 internal compiler error: bgra8unorm should have been polyfilled to rgba8unorm
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 023772f..6338d00 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:994 internal compiler error: bgra8unorm should have been polyfilled to rgba8unorm
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 b475b2e..ce7e3cd 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,11 +1,90 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  ivec4 tint_symbol;
+} v;
+layout(binding = 0, rgba32i) uniform highp readonly iimage1D arg_0;
+ivec4 textureLoad_ddeed3() {
+  int arg_1 = 1;
+  ivec4 res = imageLoad(arg_0, int(arg_1));
+  return res;
+}
+void main() {
+  v.tint_symbol = textureLoad_ddeed3();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:9: 'iimage1D' : Reserved word. 
+WARNING: 0:9: 'layout' : useless application of layout qualifier 
+ERROR: 0:9: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  ivec4 tint_symbol;
+} v;
+layout(binding = 0, rgba32i) uniform highp readonly iimage1D arg_0;
+ivec4 textureLoad_ddeed3() {
+  int arg_1 = 1;
+  ivec4 res = imageLoad(arg_0, int(arg_1));
+  return res;
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  v.tint_symbol = textureLoad_ddeed3();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:7: 'iimage1D' : Reserved word. 
+WARNING: 0:7: 'layout' : useless application of layout qualifier 
+ERROR: 0:7: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+
+struct VertexOutput {
+  vec4 pos;
+  ivec4 prevent_dce;
+};
+
+layout(binding = 0, rgba32i) uniform highp readonly iimage1D arg_0;
+layout(location = 0) flat out ivec4 vertex_main_loc0_Output;
+ivec4 textureLoad_ddeed3() {
+  int arg_1 = 1;
+  ivec4 res = imageLoad(arg_0, int(arg_1));
+  return res;
+}
+VertexOutput vertex_main_inner() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), ivec4(0));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = textureLoad_ddeed3();
+  return tint_symbol;
+}
+void main() {
+  VertexOutput v = vertex_main_inner();
+  gl_Position = v.pos;
+  gl_Position[1u] = -(gl_Position.y);
+  gl_Position[2u] = ((2.0f * gl_Position.z) - gl_Position.w);
+  vertex_main_loc0_Output = v.prevent_dce;
+  gl_PointSize = 1.0f;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:9: 'iimage1D' : Reserved word. 
+WARNING: 0:9: 'layout' : useless application of layout qualifier 
+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/textureLoad/de5a0e.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/de5a0e.wgsl.expected.ir.glsl
index 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 b475b2e..d51a4fe 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,11 +1,90 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  ivec4 tint_symbol;
+} v;
+layout(binding = 0, r32i) uniform highp readonly iimage1D arg_0;
+ivec4 textureLoad_e2292f() {
+  uint arg_1 = 1u;
+  ivec4 res = imageLoad(arg_0, int(arg_1));
+  return res;
+}
+void main() {
+  v.tint_symbol = textureLoad_e2292f();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:9: 'iimage1D' : Reserved word. 
+WARNING: 0:9: 'layout' : useless application of layout qualifier 
+ERROR: 0:9: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  ivec4 tint_symbol;
+} v;
+layout(binding = 0, r32i) uniform highp readonly iimage1D arg_0;
+ivec4 textureLoad_e2292f() {
+  uint arg_1 = 1u;
+  ivec4 res = imageLoad(arg_0, int(arg_1));
+  return res;
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  v.tint_symbol = textureLoad_e2292f();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:7: 'iimage1D' : Reserved word. 
+WARNING: 0:7: 'layout' : useless application of layout qualifier 
+ERROR: 0:7: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+
+struct VertexOutput {
+  vec4 pos;
+  ivec4 prevent_dce;
+};
+
+layout(binding = 0, r32i) uniform highp readonly iimage1D arg_0;
+layout(location = 0) flat out ivec4 vertex_main_loc0_Output;
+ivec4 textureLoad_e2292f() {
+  uint arg_1 = 1u;
+  ivec4 res = imageLoad(arg_0, int(arg_1));
+  return res;
+}
+VertexOutput vertex_main_inner() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), ivec4(0));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = textureLoad_e2292f();
+  return tint_symbol;
+}
+void main() {
+  VertexOutput v = vertex_main_inner();
+  gl_Position = v.pos;
+  gl_Position[1u] = -(gl_Position.y);
+  gl_Position[2u] = ((2.0f * gl_Position.z) - gl_Position.w);
+  vertex_main_loc0_Output = v.prevent_dce;
+  gl_PointSize = 1.0f;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:9: 'iimage1D' : Reserved word. 
+WARNING: 0:9: 'layout' : useless application of layout qualifier 
+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/textureLoad/e2d7da.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/e2d7da.wgsl.expected.ir.glsl
index 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 b475b2e..fef3a4e 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,11 +1,90 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  vec4 tint_symbol;
+} v;
+layout(binding = 0, rgba8) uniform highp readonly image1D arg_0;
+vec4 textureLoad_e92dd0() {
+  uint arg_1 = 1u;
+  vec4 res = imageLoad(arg_0, int(arg_1));
+  return res;
+}
+void main() {
+  v.tint_symbol = textureLoad_e92dd0();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:9: 'image1D' : Reserved word. 
+WARNING: 0:9: 'layout' : useless application of layout qualifier 
+ERROR: 0:9: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  vec4 tint_symbol;
+} v;
+layout(binding = 0, rgba8) uniform highp readonly image1D arg_0;
+vec4 textureLoad_e92dd0() {
+  uint arg_1 = 1u;
+  vec4 res = imageLoad(arg_0, int(arg_1));
+  return res;
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  v.tint_symbol = textureLoad_e92dd0();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:7: 'image1D' : Reserved word. 
+WARNING: 0:7: 'layout' : useless application of layout qualifier 
+ERROR: 0:7: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+layout(binding = 0, rgba8) uniform highp readonly image1D arg_0;
+layout(location = 0) flat out vec4 vertex_main_loc0_Output;
+vec4 textureLoad_e92dd0() {
+  uint arg_1 = 1u;
+  vec4 res = imageLoad(arg_0, int(arg_1));
+  return res;
+}
+VertexOutput vertex_main_inner() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = textureLoad_e92dd0();
+  return tint_symbol;
+}
+void main() {
+  VertexOutput v = vertex_main_inner();
+  gl_Position = v.pos;
+  gl_Position[1u] = -(gl_Position.y);
+  gl_Position[2u] = ((2.0f * gl_Position.z) - gl_Position.w);
+  vertex_main_loc0_Output = v.prevent_dce;
+  gl_PointSize = 1.0f;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:9: 'image1D' : Reserved word. 
+WARNING: 0:9: 'layout' : useless application of layout qualifier 
+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/textureLoad/e9eb65.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/e9eb65.wgsl.expected.ir.glsl
index 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 b475b2e..2bcb76a 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,11 +1,90 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  ivec4 tint_symbol;
+} v;
+layout(binding = 0, r32i) uniform highp readonly iimage1D arg_0;
+ivec4 textureLoad_f06b69() {
+  int arg_1 = 1;
+  ivec4 res = imageLoad(arg_0, int(arg_1));
+  return res;
+}
+void main() {
+  v.tint_symbol = textureLoad_f06b69();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:9: 'iimage1D' : Reserved word. 
+WARNING: 0:9: 'layout' : useless application of layout qualifier 
+ERROR: 0:9: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  ivec4 tint_symbol;
+} v;
+layout(binding = 0, r32i) uniform highp readonly iimage1D arg_0;
+ivec4 textureLoad_f06b69() {
+  int arg_1 = 1;
+  ivec4 res = imageLoad(arg_0, int(arg_1));
+  return res;
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  v.tint_symbol = textureLoad_f06b69();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:7: 'iimage1D' : Reserved word. 
+WARNING: 0:7: 'layout' : useless application of layout qualifier 
+ERROR: 0:7: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+
+struct VertexOutput {
+  vec4 pos;
+  ivec4 prevent_dce;
+};
+
+layout(binding = 0, r32i) uniform highp readonly iimage1D arg_0;
+layout(location = 0) flat out ivec4 vertex_main_loc0_Output;
+ivec4 textureLoad_f06b69() {
+  int arg_1 = 1;
+  ivec4 res = imageLoad(arg_0, int(arg_1));
+  return res;
+}
+VertexOutput vertex_main_inner() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), ivec4(0));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = textureLoad_f06b69();
+  return tint_symbol;
+}
+void main() {
+  VertexOutput v = vertex_main_inner();
+  gl_Position = v.pos;
+  gl_Position[1u] = -(gl_Position.y);
+  gl_Position[2u] = ((2.0f * gl_Position.z) - gl_Position.w);
+  vertex_main_loc0_Output = v.prevent_dce;
+  gl_PointSize = 1.0f;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:9: 'iimage1D' : Reserved word. 
+WARNING: 0:9: 'layout' : useless application of layout qualifier 
+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/textureLoad/f2c311.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/f2c311.wgsl.expected.ir.glsl
index 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 b475b2e..fb850f0 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,11 +1,90 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  ivec4 tint_symbol;
+} v;
+layout(binding = 0, rgba8i) uniform highp readonly iimage1D arg_0;
+ivec4 textureLoad_f35ac7() {
+  uint arg_1 = 1u;
+  ivec4 res = imageLoad(arg_0, int(arg_1));
+  return res;
+}
+void main() {
+  v.tint_symbol = textureLoad_f35ac7();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:9: 'iimage1D' : Reserved word. 
+WARNING: 0:9: 'layout' : useless application of layout qualifier 
+ERROR: 0:9: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  ivec4 tint_symbol;
+} v;
+layout(binding = 0, rgba8i) uniform highp readonly iimage1D arg_0;
+ivec4 textureLoad_f35ac7() {
+  uint arg_1 = 1u;
+  ivec4 res = imageLoad(arg_0, int(arg_1));
+  return res;
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  v.tint_symbol = textureLoad_f35ac7();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:7: 'iimage1D' : Reserved word. 
+WARNING: 0:7: 'layout' : useless application of layout qualifier 
+ERROR: 0:7: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+
+struct VertexOutput {
+  vec4 pos;
+  ivec4 prevent_dce;
+};
+
+layout(binding = 0, rgba8i) uniform highp readonly iimage1D arg_0;
+layout(location = 0) flat out ivec4 vertex_main_loc0_Output;
+ivec4 textureLoad_f35ac7() {
+  uint arg_1 = 1u;
+  ivec4 res = imageLoad(arg_0, int(arg_1));
+  return res;
+}
+VertexOutput vertex_main_inner() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), ivec4(0));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = textureLoad_f35ac7();
+  return tint_symbol;
+}
+void main() {
+  VertexOutput v = vertex_main_inner();
+  gl_Position = v.pos;
+  gl_Position[1u] = -(gl_Position.y);
+  gl_Position[2u] = ((2.0f * gl_Position.z) - gl_Position.w);
+  vertex_main_loc0_Output = v.prevent_dce;
+  gl_PointSize = 1.0f;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:9: 'iimage1D' : Reserved word. 
+WARNING: 0:9: 'layout' : useless application of layout qualifier 
+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/textureLoad/f5fbc6.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/f5fbc6.wgsl.expected.ir.glsl
index 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 b475b2e..0882cd0 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,11 +1,90 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  ivec4 tint_symbol;
+} v;
+layout(binding = 0, rgba16i) uniform highp readonly iimage1D arg_0;
+ivec4 textureLoad_f9eaaf() {
+  uint arg_1 = 1u;
+  ivec4 res = imageLoad(arg_0, int(arg_1));
+  return res;
+}
+void main() {
+  v.tint_symbol = textureLoad_f9eaaf();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:9: 'iimage1D' : Reserved word. 
+WARNING: 0:9: 'layout' : useless application of layout qualifier 
+ERROR: 0:9: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  ivec4 tint_symbol;
+} v;
+layout(binding = 0, rgba16i) uniform highp readonly iimage1D arg_0;
+ivec4 textureLoad_f9eaaf() {
+  uint arg_1 = 1u;
+  ivec4 res = imageLoad(arg_0, int(arg_1));
+  return res;
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  v.tint_symbol = textureLoad_f9eaaf();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:7: 'iimage1D' : Reserved word. 
+WARNING: 0:7: 'layout' : useless application of layout qualifier 
+ERROR: 0:7: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+
+struct VertexOutput {
+  vec4 pos;
+  ivec4 prevent_dce;
+};
+
+layout(binding = 0, rgba16i) uniform highp readonly iimage1D arg_0;
+layout(location = 0) flat out ivec4 vertex_main_loc0_Output;
+ivec4 textureLoad_f9eaaf() {
+  uint arg_1 = 1u;
+  ivec4 res = imageLoad(arg_0, int(arg_1));
+  return res;
+}
+VertexOutput vertex_main_inner() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), ivec4(0));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = textureLoad_f9eaaf();
+  return tint_symbol;
+}
+void main() {
+  VertexOutput v = vertex_main_inner();
+  gl_Position = v.pos;
+  gl_Position[1u] = -(gl_Position.y);
+  gl_Position[2u] = ((2.0f * gl_Position.z) - gl_Position.w);
+  vertex_main_loc0_Output = v.prevent_dce;
+  gl_PointSize = 1.0f;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:9: 'iimage1D' : Reserved word. 
+WARNING: 0:9: 'layout' : useless application of layout qualifier 
+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/textureLoad/fc47ff.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/fc47ff.wgsl.expected.ir.glsl
index 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 b475b2e..784224f 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,11 +1,246 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
 
-tint executable returned error: signal: trace/BPT trap
+@group(0) @binding(0) var<storage, read_write> prevent_dce : f32;
+
+@group(1) @binding(0) var arg_0 : texture_depth_multisampled_2d;
+
+fn textureLoad_fcd23d() -> f32 {
+  var arg_1 = vec2<u32>(1u);
+  var arg_2 = 1i;
+  var res : f32 = textureLoad(arg_0, arg_1, arg_2);
+  return res;
+}
+
+struct VertexOutput {
+  @builtin(position)
+  pos : vec4<f32>,
+  @location(0) @interpolate(flat)
+  prevent_dce : f32,
+}
+
+@fragment
+fn fragment_main() {
+  prevent_dce = textureLoad_fcd23d();
+}
+
+Failed to generate: :19:15 error: glsl.texelFetch: no matching call to 'glsl.texelFetch(texture_depth_multisampled_2d, vec2<i32>, i32)'
+
+5 candidate functions:
+ • 'glsl.texelFetch(texture: texture_2d<T>  ✗ , location: vec2<i32>  ✓ , level: i32  ✓ ) -> vec4<T>' where:
+      ✗  'T' is 'f32', 'i32' or 'u32'
+ • 'glsl.texelFetch(texture: texture_multisampled_2d<T>  ✗ , location: vec2<i32>  ✓ , sample_index: i32  ✓ ) -> vec4<T>' where:
+      ✗  'T' is 'f32', 'i32' or 'u32'
+ • 'glsl.texelFetch(texture: texture_1d<T>  ✗ , location: i32  ✗ , level: i32  ✓ ) -> vec4<T>' where:
+      ✗  'T' is 'f32', 'i32' or 'u32'
+ • 'glsl.texelFetch(texture: texture_2d_array<T>  ✗ , location: vec3<i32>  ✗ , level: i32  ✓ ) -> vec4<T>' where:
+      ✗  'T' is 'f32', 'i32' or 'u32'
+ • 'glsl.texelFetch(texture: texture_3d<T>  ✗ , location: vec3<i32>  ✗ , level: i32  ✓ ) -> vec4<T>' where:
+      ✗  'T' is 'f32', 'i32' or 'u32'
+
+    %11:f32 = glsl.texelFetch %6, %9, %10
+              ^^^^^^^^^^^^^^^
+
+:11:3 note: in block
+  $B2: {
+  ^^^
+
+note: # Disassembly
+tint_symbol_1 = struct @align(4), @block {
+  tint_symbol:f32 @offset(0)
+}
+
+$B1: {  # root
+  %1:ptr<storage, tint_symbol_1, read_write> = var @binding_point(0, 0)
+  %arg_0:ptr<handle, texture_depth_multisampled_2d, read> = var @binding_point(0, 0)
+}
+
+%textureLoad_fcd23d = func():f32 {
+  $B2: {
+    %arg_1:ptr<function, vec2<u32>, read_write> = var, vec2<u32>(1u)
+    %arg_2:ptr<function, i32, read_write> = var, 1i
+    %6:texture_depth_multisampled_2d = load %arg_0
+    %7:vec2<u32> = load %arg_1
+    %8:i32 = load %arg_2
+    %9:vec2<i32> = convert %7
+    %10:i32 = convert %8
+    %11:f32 = glsl.texelFetch %6, %9, %10
+    %res:ptr<function, f32, read_write> = var, %11
+    %13:f32 = load %res
+    ret %13
+  }
+}
+%fragment_main = @fragment func():void {
+  $B3: {
+    %15:f32 = call %textureLoad_fcd23d
+    %16:ptr<storage, f32, read_write> = access %1, 0u
+    store %16, %15
+    ret
+  }
+}
+
+
+@group(0) @binding(0) var<storage, read_write> prevent_dce : f32;
+
+@group(1) @binding(0) var arg_0 : texture_depth_multisampled_2d;
+
+fn textureLoad_fcd23d() -> f32 {
+  var arg_1 = vec2<u32>(1u);
+  var arg_2 = 1i;
+  var res : f32 = textureLoad(arg_0, arg_1, arg_2);
+  return res;
+}
+
+struct VertexOutput {
+  @builtin(position)
+  pos : vec4<f32>,
+  @location(0) @interpolate(flat)
+  prevent_dce : f32,
+}
+
+@compute @workgroup_size(1)
+fn compute_main() {
+  prevent_dce = textureLoad_fcd23d();
+}
+
+Failed to generate: :19:15 error: glsl.texelFetch: no matching call to 'glsl.texelFetch(texture_depth_multisampled_2d, vec2<i32>, i32)'
+
+5 candidate functions:
+ • 'glsl.texelFetch(texture: texture_2d<T>  ✗ , location: vec2<i32>  ✓ , level: i32  ✓ ) -> vec4<T>' where:
+      ✗  'T' is 'f32', 'i32' or 'u32'
+ • 'glsl.texelFetch(texture: texture_multisampled_2d<T>  ✗ , location: vec2<i32>  ✓ , sample_index: i32  ✓ ) -> vec4<T>' where:
+      ✗  'T' is 'f32', 'i32' or 'u32'
+ • 'glsl.texelFetch(texture: texture_1d<T>  ✗ , location: i32  ✗ , level: i32  ✓ ) -> vec4<T>' where:
+      ✗  'T' is 'f32', 'i32' or 'u32'
+ • 'glsl.texelFetch(texture: texture_2d_array<T>  ✗ , location: vec3<i32>  ✗ , level: i32  ✓ ) -> vec4<T>' where:
+      ✗  'T' is 'f32', 'i32' or 'u32'
+ • 'glsl.texelFetch(texture: texture_3d<T>  ✗ , location: vec3<i32>  ✗ , level: i32  ✓ ) -> vec4<T>' where:
+      ✗  'T' is 'f32', 'i32' or 'u32'
+
+    %11:f32 = glsl.texelFetch %6, %9, %10
+              ^^^^^^^^^^^^^^^
+
+:11:3 note: in block
+  $B2: {
+  ^^^
+
+note: # Disassembly
+tint_symbol_1 = struct @align(4), @block {
+  tint_symbol:f32 @offset(0)
+}
+
+$B1: {  # root
+  %1:ptr<storage, tint_symbol_1, read_write> = var @binding_point(0, 0)
+  %arg_0:ptr<handle, texture_depth_multisampled_2d, read> = var @binding_point(0, 0)
+}
+
+%textureLoad_fcd23d = func():f32 {
+  $B2: {
+    %arg_1:ptr<function, vec2<u32>, read_write> = var, vec2<u32>(1u)
+    %arg_2:ptr<function, i32, read_write> = var, 1i
+    %6:texture_depth_multisampled_2d = load %arg_0
+    %7:vec2<u32> = load %arg_1
+    %8:i32 = load %arg_2
+    %9:vec2<i32> = convert %7
+    %10:i32 = convert %8
+    %11:f32 = glsl.texelFetch %6, %9, %10
+    %res:ptr<function, f32, read_write> = var, %11
+    %13:f32 = load %res
+    ret %13
+  }
+}
+%compute_main = @compute @workgroup_size(1, 1, 1) func():void {
+  $B3: {
+    %15:f32 = call %textureLoad_fcd23d
+    %16:ptr<storage, f32, read_write> = access %1, 0u
+    store %16, %15
+    ret
+  }
+}
+
+
+@group(1) @binding(0) var arg_0 : texture_depth_multisampled_2d;
+
+fn textureLoad_fcd23d() -> f32 {
+  var arg_1 = vec2<u32>(1u);
+  var arg_2 = 1i;
+  var res : f32 = textureLoad(arg_0, arg_1, arg_2);
+  return res;
+}
+
+struct VertexOutput {
+  @builtin(position)
+  pos : vec4<f32>,
+  @location(0) @interpolate(flat)
+  prevent_dce : f32,
+}
+
+@vertex
+fn vertex_main() -> VertexOutput {
+  var tint_symbol : VertexOutput;
+  tint_symbol.pos = vec4<f32>();
+  tint_symbol.prevent_dce = textureLoad_fcd23d();
+  return tint_symbol;
+}
+
+Failed to generate: :19:15 error: glsl.texelFetch: no matching call to 'glsl.texelFetch(texture_depth_multisampled_2d, vec2<i32>, i32)'
+
+5 candidate functions:
+ • 'glsl.texelFetch(texture: texture_2d<T>  ✗ , location: vec2<i32>  ✓ , level: i32  ✓ ) -> vec4<T>' where:
+      ✗  'T' is 'f32', 'i32' or 'u32'
+ • 'glsl.texelFetch(texture: texture_multisampled_2d<T>  ✗ , location: vec2<i32>  ✓ , sample_index: i32  ✓ ) -> vec4<T>' where:
+      ✗  'T' is 'f32', 'i32' or 'u32'
+ • 'glsl.texelFetch(texture: texture_1d<T>  ✗ , location: i32  ✗ , level: i32  ✓ ) -> vec4<T>' where:
+      ✗  'T' is 'f32', 'i32' or 'u32'
+ • 'glsl.texelFetch(texture: texture_2d_array<T>  ✗ , location: vec3<i32>  ✗ , level: i32  ✓ ) -> vec4<T>' where:
+      ✗  'T' is 'f32', 'i32' or 'u32'
+ • 'glsl.texelFetch(texture: texture_3d<T>  ✗ , location: vec3<i32>  ✗ , level: i32  ✓ ) -> vec4<T>' where:
+      ✗  'T' is 'f32', 'i32' or 'u32'
+
+    %10:f32 = glsl.texelFetch %5, %8, %9
+              ^^^^^^^^^^^^^^^
+
+:11:3 note: in block
+  $B2: {
+  ^^^
+
+note: # Disassembly
+VertexOutput = struct @align(16) {
+  pos:vec4<f32> @offset(0), @builtin(position)
+  prevent_dce:f32 @offset(16), @location(0), @interpolate(flat)
+}
+
+$B1: {  # root
+  %arg_0:ptr<handle, texture_depth_multisampled_2d, read> = var @binding_point(0, 0)
+}
+
+%textureLoad_fcd23d = func():f32 {
+  $B2: {
+    %arg_1:ptr<function, vec2<u32>, read_write> = var, vec2<u32>(1u)
+    %arg_2:ptr<function, i32, read_write> = var, 1i
+    %5:texture_depth_multisampled_2d = load %arg_0
+    %6:vec2<u32> = load %arg_1
+    %7:i32 = load %arg_2
+    %8:vec2<i32> = convert %6
+    %9:i32 = convert %7
+    %10:f32 = glsl.texelFetch %5, %8, %9
+    %res:ptr<function, f32, read_write> = var, %10
+    %12:f32 = load %res
+    ret %12
+  }
+}
+%vertex_main = @vertex func():VertexOutput {
+  $B3: {
+    %tint_symbol:ptr<function, VertexOutput, read_write> = var
+    %15:ptr<function, vec4<f32>, read_write> = access %tint_symbol, 0u
+    store %15, vec4<f32>(0.0f)
+    %16:ptr<function, f32, read_write> = access %tint_symbol, 1u
+    %17:f32 = call %textureLoad_fcd23d
+    store %16, %17
+    %18:VertexOutput = load %tint_symbol
+    ret %18
+  }
+}
+
+
+tint executable returned error: exit status 1
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 b475b2e..cee6f00 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,11 +1,90 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  vec4 tint_symbol;
+} v;
+layout(binding = 0, rgba8_snorm) uniform highp readonly image1D arg_0;
+vec4 textureLoad_fe222a() {
+  int arg_1 = 1;
+  vec4 res = imageLoad(arg_0, int(arg_1));
+  return res;
+}
+void main() {
+  v.tint_symbol = textureLoad_fe222a();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:9: 'image1D' : Reserved word. 
+WARNING: 0:9: 'layout' : useless application of layout qualifier 
+ERROR: 0:9: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, std430)
+buffer tint_symbol_1_1_ssbo {
+  vec4 tint_symbol;
+} v;
+layout(binding = 0, rgba8_snorm) uniform highp readonly image1D arg_0;
+vec4 textureLoad_fe222a() {
+  int arg_1 = 1;
+  vec4 res = imageLoad(arg_0, int(arg_1));
+  return res;
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  v.tint_symbol = textureLoad_fe222a();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:7: 'image1D' : Reserved word. 
+WARNING: 0:7: 'layout' : useless application of layout qualifier 
+ERROR: 0:7: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+layout(binding = 0, rgba8_snorm) uniform highp readonly image1D arg_0;
+layout(location = 0) flat out vec4 vertex_main_loc0_Output;
+vec4 textureLoad_fe222a() {
+  int arg_1 = 1;
+  vec4 res = imageLoad(arg_0, int(arg_1));
+  return res;
+}
+VertexOutput vertex_main_inner() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = textureLoad_fe222a();
+  return tint_symbol;
+}
+void main() {
+  VertexOutput v = vertex_main_inner();
+  gl_Position = v.pos;
+  gl_Position[1u] = -(gl_Position.y);
+  gl_Position[2u] = ((2.0f * gl_Position.z) - gl_Position.w);
+  vertex_main_loc0_Output = v.prevent_dce;
+  gl_PointSize = 1.0f;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:9: 'image1D' : Reserved word. 
+WARNING: 0:9: 'layout' : useless application of layout qualifier 
+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/textureLoad/fe2c1b.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/fe2c1b.wgsl.expected.ir.glsl
index 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 b475b2e..928ec74 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
+<dawn>/src/tint/lang/glsl/writer/raise/builtin_polyfill.cc:469 internal compiler error: TINT_ASSERT(!tex->Type()->Is<core::type::DepthTexture>())
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 023772f..6338d00 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:994 internal compiler error: bgra8unorm should have been polyfilled to rgba8unorm
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 14389ea..7eca8f7 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureNumLevels
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureNumLevels
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 14389ea..7eca8f7 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureNumLevels
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureNumLevels
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 14389ea..7eca8f7 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureNumLevels
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureNumLevels
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 14389ea..7eca8f7 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureNumLevels
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureNumLevels
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 14389ea..7eca8f7 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureNumLevels
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureNumLevels
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 14389ea..7eca8f7 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureNumLevels
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureNumLevels
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 14389ea..7eca8f7 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureNumLevels
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureNumLevels
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 14389ea..7eca8f7 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureNumLevels
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureNumLevels
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 14389ea..7eca8f7 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureNumLevels
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureNumLevels
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 14389ea..7eca8f7 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureNumLevels
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureNumLevels
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 14389ea..7eca8f7 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureNumLevels
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureNumLevels
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 14389ea..7eca8f7 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureNumLevels
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureNumLevels
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 14389ea..7eca8f7 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureNumLevels
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureNumLevels
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 14389ea..7eca8f7 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureNumLevels
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureNumLevels
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 14389ea..7eca8f7 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureNumLevels
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureNumLevels
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 14389ea..7eca8f7 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureNumLevels
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureNumLevels
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 14389ea..7eca8f7 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureNumLevels
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureNumLevels
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 14389ea..7eca8f7 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureNumLevels
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureNumLevels
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 14389ea..7eca8f7 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureNumLevels
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureNumLevels
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 14389ea..7eca8f7 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureNumLevels
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureNumLevels
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 14389ea..7eca8f7 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureNumLevels
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureNumLevels
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 14389ea..7eca8f7 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureNumLevels
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureNumLevels
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 afeb852..f86bf54 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureNumSamples
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureNumSamples
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 afeb852..f86bf54 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureNumSamples
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureNumSamples
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 afeb852..f86bf54 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureNumSamples
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureNumSamples
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 afeb852..f86bf54 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureNumSamples
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureNumSamples
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 c99d849..0f5dc88 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSample
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSample
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 c99d849..0f5dc88 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSample
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSample
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 c99d849..0f5dc88 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSample
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSample
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 c99d849..0f5dc88 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSample
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSample
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 c99d849..0f5dc88 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSample
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSample
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 c99d849..0f5dc88 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSample
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSample
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 c99d849..0f5dc88 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSample
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSample
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 c99d849..0f5dc88 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSample
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSample
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 c99d849..0f5dc88 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSample
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSample
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 c99d849..0f5dc88 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSample
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSample
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 c99d849..0f5dc88 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSample
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSample
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 c99d849..0f5dc88 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSample
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSample
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 c99d849..0f5dc88 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSample
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSample
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 c99d849..0f5dc88 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSample
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSample
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 c99d849..0f5dc88 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSample
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSample
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 c99d849..0f5dc88 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSample
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSample
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 c99d849..0f5dc88 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSample
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSample
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 c99d849..0f5dc88 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSample
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSample
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 c99d849..0f5dc88 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSample
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSample
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 c99d849..0f5dc88 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSample
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSample
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 c99d849..0f5dc88 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSample
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSample
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 cd405ed..5e62270 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:618 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:619 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 cd405ed..1970bb2 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:618 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleLevel
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 ef83938..96b1f7b 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleBias
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleBias
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 ef83938..96b1f7b 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleBias
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleBias
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 ef83938..96b1f7b 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleBias
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleBias
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 ef83938..96b1f7b 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleBias
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleBias
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 ef83938..96b1f7b 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleBias
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleBias
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 ef83938..96b1f7b 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleBias
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleBias
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 ef83938..96b1f7b 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleBias
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleBias
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 ef83938..96b1f7b 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleBias
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleBias
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 ef83938..96b1f7b 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleBias
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleBias
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 ef83938..96b1f7b 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleBias
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleBias
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 ef83938..96b1f7b 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleBias
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleBias
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 8a07773..29c0278 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleCompare
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleCompare
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 8a07773..29c0278 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleCompare
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleCompare
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 8a07773..29c0278 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleCompare
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleCompare
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 8a07773..29c0278 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleCompare
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleCompare
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 8a07773..29c0278 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleCompare
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleCompare
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 8a07773..29c0278 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleCompare
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleCompare
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 8a07773..29c0278 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleCompare
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleCompare
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 8a07773..29c0278 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleCompare
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleCompare
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 8a07773..29c0278 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleCompare
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleCompare
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 fba4c01..e159074 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleCompareLevel
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleCompareLevel
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 fba4c01..e159074 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleCompareLevel
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleCompareLevel
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 fba4c01..e159074 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleCompareLevel
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleCompareLevel
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 fba4c01..e159074 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleCompareLevel
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleCompareLevel
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 fba4c01..e159074 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleCompareLevel
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleCompareLevel
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 fba4c01..e159074 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleCompareLevel
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleCompareLevel
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 fba4c01..e159074 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleCompareLevel
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleCompareLevel
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 fba4c01..e159074 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleCompareLevel
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleCompareLevel
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 fba4c01..e159074 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleCompareLevel
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleCompareLevel
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 eaba717..e45a0cd 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleGrad
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleGrad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 eaba717..e45a0cd 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleGrad
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleGrad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 eaba717..e45a0cd 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleGrad
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleGrad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 eaba717..e45a0cd 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleGrad
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleGrad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 eaba717..e45a0cd 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleGrad
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleGrad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 eaba717..e45a0cd 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleGrad
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleGrad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 eaba717..e45a0cd 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleGrad
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleGrad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 eaba717..e45a0cd 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleGrad
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleGrad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 eaba717..e45a0cd 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleGrad
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleGrad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 eaba717..e45a0cd 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleGrad
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleGrad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 eaba717..e45a0cd 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleGrad
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleGrad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 34d581a..1970bb2 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleLevel
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleLevel
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 34d581a..1970bb2 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleLevel
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleLevel
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 34d581a..1970bb2 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleLevel
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleLevel
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 34d581a..1970bb2 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleLevel
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleLevel
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 34d581a..1970bb2 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleLevel
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleLevel
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 34d581a..1970bb2 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleLevel
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleLevel
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 34d581a..1970bb2 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleLevel
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleLevel
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 34d581a..1970bb2 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleLevel
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleLevel
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 34d581a..1970bb2 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleLevel
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleLevel
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 34d581a..1970bb2 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleLevel
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleLevel
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 34d581a..1970bb2 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleLevel
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleLevel
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 34d581a..1970bb2 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleLevel
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleLevel
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 34d581a..1970bb2 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleLevel
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleLevel
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 34d581a..1970bb2 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleLevel
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleLevel
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 34d581a..1970bb2 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleLevel
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleLevel
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 34d581a..1970bb2 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleLevel
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleLevel
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 34d581a..1970bb2 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleLevel
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleLevel
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 34d581a..1970bb2 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleLevel
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleLevel
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 34d581a..1970bb2 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleLevel
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleLevel
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 34d581a..1970bb2 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleLevel
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleLevel
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 34d581a..1970bb2 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleLevel
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleLevel
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 34d581a..1970bb2 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleLevel
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleLevel
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 34d581a..1970bb2 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleLevel
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleLevel
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 34d581a..1970bb2 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleLevel
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleLevel
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 34d581a..1970bb2 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleLevel
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleLevel
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 34d581a..1970bb2 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleLevel
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleLevel
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 34d581a..1970bb2 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleLevel
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleLevel
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 34d581a..1970bb2 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleLevel
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleLevel
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 34d581a..1970bb2 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleLevel
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleLevel
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 475cf0d..eec9d94 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,11 +1,49 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, rgba32i) uniform highp writeonly iimage2DArray arg_0;
+void textureStore_0148bd() {
+  uvec2 arg_1 = uvec2(1u);
+  int arg_2 = 1;
+  ivec4 arg_3 = ivec4(1);
+  uvec2 v = arg_1;
+  ivec4 v_1 = arg_3;
+  imageStore(arg_0, uvec3(v, uint(arg_2)), v_1);
+}
+void main() {
+  textureStore_0148bd();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:12: 'imageStore' : no matching overloaded function found 
+ERROR: 0:12: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, rgba32i) uniform highp writeonly iimage2DArray arg_0;
+void textureStore_0148bd() {
+  uvec2 arg_1 = uvec2(1u);
+  int arg_2 = 1;
+  ivec4 arg_3 = ivec4(1);
+  uvec2 v = arg_1;
+  ivec4 v_1 = arg_3;
+  imageStore(arg_0, uvec3(v, uint(arg_2)), v_1);
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  textureStore_0148bd();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:10: 'imageStore' : no matching overloaded function found 
+ERROR: 0:10: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 475cf0d..7afc258 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,11 +1,43 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, rgba16i) uniform highp writeonly iimage3D arg_0;
+void textureStore_07548b() {
+  uvec3 arg_1 = uvec3(1u);
+  ivec4 arg_2 = ivec4(1);
+  imageStore(arg_0, arg_1, arg_2);
+}
+void main() {
+  textureStore_07548b();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:9: 'imageStore' : no matching overloaded function found 
+ERROR: 0:9: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, rgba16i) uniform highp writeonly iimage3D arg_0;
+void textureStore_07548b() {
+  uvec3 arg_1 = uvec3(1u);
+  ivec4 arg_2 = ivec4(1);
+  imageStore(arg_0, arg_1, arg_2);
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  textureStore_07548b();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:7: 'imageStore' : no matching overloaded function found 
+ERROR: 0:7: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 023772f..6338d00 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:994 internal compiler error: bgra8unorm should have been polyfilled to rgba8unorm
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 475cf0d..6dbb0d9 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,11 +1,49 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, rgba8ui) uniform highp writeonly uimage2DArray arg_0;
+void textureStore_0a1a79() {
+  uvec2 arg_1 = uvec2(1u);
+  int arg_2 = 1;
+  uvec4 arg_3 = uvec4(1u);
+  uvec2 v = arg_1;
+  uvec4 v_1 = arg_3;
+  imageStore(arg_0, uvec3(v, uint(arg_2)), v_1);
+}
+void main() {
+  textureStore_0a1a79();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:12: 'imageStore' : no matching overloaded function found 
+ERROR: 0:12: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, rgba8ui) uniform highp writeonly uimage2DArray arg_0;
+void textureStore_0a1a79() {
+  uvec2 arg_1 = uvec2(1u);
+  int arg_2 = 1;
+  uvec4 arg_3 = uvec4(1u);
+  uvec2 v = arg_1;
+  uvec4 v_1 = arg_3;
+  imageStore(arg_0, uvec3(v, uint(arg_2)), v_1);
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  textureStore_0a1a79();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:10: 'imageStore' : no matching overloaded function found 
+ERROR: 0:10: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 f4b4716..f39af5d 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,11 +1,49 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 460
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, rg32ui) uniform highp uimage2DArray arg_0;
+void textureStore_0ade9a() {
+  uvec2 arg_1 = uvec2(1u);
+  uint arg_2 = 1u;
+  uvec4 arg_3 = uvec4(1u);
+  uvec2 v = arg_1;
+  uvec4 v_1 = arg_3;
+  imageStore(arg_0, uvec3(v, uint(arg_2)), v_1);
+}
+void main() {
+  textureStore_0ade9a();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:12: 'imageStore' : no matching overloaded function found 
+ERROR: 0:12: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 460
+
+layout(binding = 0, rg32ui) uniform highp uimage2DArray arg_0;
+void textureStore_0ade9a() {
+  uvec2 arg_1 = uvec2(1u);
+  uint arg_2 = 1u;
+  uvec4 arg_3 = uvec4(1u);
+  uvec2 v = arg_1;
+  uvec4 v_1 = arg_3;
+  imageStore(arg_0, uvec3(v, uint(arg_2)), v_1);
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  textureStore_0ade9a();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:10: 'imageStore' : no matching overloaded function found 
+ERROR: 0:10: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 475cf0d..838358b 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,11 +1,49 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, rgba16i) uniform highp writeonly iimage2DArray arg_0;
+void textureStore_0cc825() {
+  uvec2 arg_1 = uvec2(1u);
+  int arg_2 = 1;
+  ivec4 arg_3 = ivec4(1);
+  uvec2 v = arg_1;
+  ivec4 v_1 = arg_3;
+  imageStore(arg_0, uvec3(v, uint(arg_2)), v_1);
+}
+void main() {
+  textureStore_0cc825();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:12: 'imageStore' : no matching overloaded function found 
+ERROR: 0:12: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, rgba16i) uniform highp writeonly iimage2DArray arg_0;
+void textureStore_0cc825() {
+  uvec2 arg_1 = uvec2(1u);
+  int arg_2 = 1;
+  ivec4 arg_3 = ivec4(1);
+  uvec2 v = arg_1;
+  ivec4 v_1 = arg_3;
+  imageStore(arg_0, uvec3(v, uint(arg_2)), v_1);
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  textureStore_0cc825();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:10: 'imageStore' : no matching overloaded function found 
+ERROR: 0:10: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 475cf0d..1c7b3b5 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,11 +1,49 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, r32f) uniform highp image2DArray arg_0;
+void textureStore_0ff97a() {
+  uvec2 arg_1 = uvec2(1u);
+  uint arg_2 = 1u;
+  vec4 arg_3 = vec4(1.0f);
+  uvec2 v = arg_1;
+  vec4 v_1 = arg_3;
+  imageStore(arg_0, uvec3(v, uint(arg_2)), v_1);
+}
+void main() {
+  textureStore_0ff97a();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:12: 'imageStore' : no matching overloaded function found 
+ERROR: 0:12: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, r32f) uniform highp image2DArray arg_0;
+void textureStore_0ff97a() {
+  uvec2 arg_1 = uvec2(1u);
+  uint arg_2 = 1u;
+  vec4 arg_3 = vec4(1.0f);
+  uvec2 v = arg_1;
+  vec4 v_1 = arg_3;
+  imageStore(arg_0, uvec3(v, uint(arg_2)), v_1);
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  textureStore_0ff97a();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:10: 'imageStore' : no matching overloaded function found 
+ERROR: 0:10: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 475cf0d..c9c9b6a 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,11 +1,45 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, r32ui) uniform highp writeonly uimage1D arg_0;
+void textureStore_102722() {
+  int arg_1 = 1;
+  uvec4 arg_2 = uvec4(1u);
+  imageStore(arg_0, arg_1, arg_2);
+}
+void main() {
+  textureStore_102722();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:5: 'uimage1D' : Reserved word. 
+WARNING: 0:5: 'layout' : useless application of layout qualifier 
+ERROR: 0:5: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, r32ui) uniform highp writeonly uimage1D arg_0;
+void textureStore_102722() {
+  int arg_1 = 1;
+  uvec4 arg_2 = uvec4(1u);
+  imageStore(arg_0, arg_1, arg_2);
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  textureStore_102722();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:3: 'uimage1D' : Reserved word. 
+WARNING: 0:3: 'layout' : useless application of layout qualifier 
+ERROR: 0:3: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 475cf0d..b14a60a 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,11 +1,49 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, r32ui) uniform highp writeonly uimage2DArray arg_0;
+void textureStore_158cf0() {
+  uvec2 arg_1 = uvec2(1u);
+  uint arg_2 = 1u;
+  uvec4 arg_3 = uvec4(1u);
+  uvec2 v = arg_1;
+  uvec4 v_1 = arg_3;
+  imageStore(arg_0, uvec3(v, uint(arg_2)), v_1);
+}
+void main() {
+  textureStore_158cf0();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:12: 'imageStore' : no matching overloaded function found 
+ERROR: 0:12: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, r32ui) uniform highp writeonly uimage2DArray arg_0;
+void textureStore_158cf0() {
+  uvec2 arg_1 = uvec2(1u);
+  uint arg_2 = 1u;
+  uvec4 arg_3 = uvec4(1u);
+  uvec2 v = arg_1;
+  uvec4 v_1 = arg_3;
+  imageStore(arg_0, uvec3(v, uint(arg_2)), v_1);
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  textureStore_158cf0();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:10: 'imageStore' : no matching overloaded function found 
+ERROR: 0:10: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 023772f..6338d00 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:994 internal compiler error: bgra8unorm should have been polyfilled to rgba8unorm
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 475cf0d..cdab07b 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,11 +1,43 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, rgba8i) uniform highp writeonly iimage2D arg_0;
+void textureStore_1839f2() {
+  uvec2 arg_1 = uvec2(1u);
+  ivec4 arg_2 = ivec4(1);
+  imageStore(arg_0, arg_1, arg_2);
+}
+void main() {
+  textureStore_1839f2();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:9: 'imageStore' : no matching overloaded function found 
+ERROR: 0:9: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, rgba8i) uniform highp writeonly iimage2D arg_0;
+void textureStore_1839f2() {
+  uvec2 arg_1 = uvec2(1u);
+  ivec4 arg_2 = ivec4(1);
+  imageStore(arg_0, arg_1, arg_2);
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  textureStore_1839f2();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:7: 'imageStore' : no matching overloaded function found 
+ERROR: 0:7: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 f4b4716..558eae7 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,11 +1,49 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 460
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, rg32i) uniform highp iimage2DArray arg_0;
+void textureStore_1a6c0b() {
+  uvec2 arg_1 = uvec2(1u);
+  uint arg_2 = 1u;
+  ivec4 arg_3 = ivec4(1);
+  uvec2 v = arg_1;
+  ivec4 v_1 = arg_3;
+  imageStore(arg_0, uvec3(v, uint(arg_2)), v_1);
+}
+void main() {
+  textureStore_1a6c0b();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:12: 'imageStore' : no matching overloaded function found 
+ERROR: 0:12: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 460
+
+layout(binding = 0, rg32i) uniform highp iimage2DArray arg_0;
+void textureStore_1a6c0b() {
+  uvec2 arg_1 = uvec2(1u);
+  uint arg_2 = 1u;
+  ivec4 arg_3 = ivec4(1);
+  uvec2 v = arg_1;
+  ivec4 v_1 = arg_3;
+  imageStore(arg_0, uvec3(v, uint(arg_2)), v_1);
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  textureStore_1a6c0b();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:10: 'imageStore' : no matching overloaded function found 
+ERROR: 0:10: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 475cf0d..be8aa9f 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,11 +1,49 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, r32i) uniform highp writeonly iimage2DArray arg_0;
+void textureStore_1a7d35() {
+  uvec2 arg_1 = uvec2(1u);
+  uint arg_2 = 1u;
+  ivec4 arg_3 = ivec4(1);
+  uvec2 v = arg_1;
+  ivec4 v_1 = arg_3;
+  imageStore(arg_0, uvec3(v, uint(arg_2)), v_1);
+}
+void main() {
+  textureStore_1a7d35();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:12: 'imageStore' : no matching overloaded function found 
+ERROR: 0:12: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, r32i) uniform highp writeonly iimage2DArray arg_0;
+void textureStore_1a7d35() {
+  uvec2 arg_1 = uvec2(1u);
+  uint arg_2 = 1u;
+  ivec4 arg_3 = ivec4(1);
+  uvec2 v = arg_1;
+  ivec4 v_1 = arg_3;
+  imageStore(arg_0, uvec3(v, uint(arg_2)), v_1);
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  textureStore_1a7d35();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:10: 'imageStore' : no matching overloaded function found 
+ERROR: 0:10: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 475cf0d..2e90267 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,11 +1,45 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, rgba32i) uniform highp writeonly iimage1D arg_0;
+void textureStore_1dc954() {
+  uint arg_1 = 1u;
+  ivec4 arg_2 = ivec4(1);
+  imageStore(arg_0, arg_1, arg_2);
+}
+void main() {
+  textureStore_1dc954();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:5: 'iimage1D' : Reserved word. 
+WARNING: 0:5: 'layout' : useless application of layout qualifier 
+ERROR: 0:5: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, rgba32i) uniform highp writeonly iimage1D arg_0;
+void textureStore_1dc954() {
+  uint arg_1 = 1u;
+  ivec4 arg_2 = ivec4(1);
+  imageStore(arg_0, arg_1, arg_2);
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  textureStore_1dc954();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:3: 'iimage1D' : Reserved word. 
+WARNING: 0:3: 'layout' : useless application of layout qualifier 
+ERROR: 0:3: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 475cf0d..0702d62 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,11 +1,43 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, r32f) uniform highp writeonly image2D arg_0;
+void textureStore_1e20f2() {
+  uvec2 arg_1 = uvec2(1u);
+  vec4 arg_2 = vec4(1.0f);
+  imageStore(arg_0, arg_1, arg_2);
+}
+void main() {
+  textureStore_1e20f2();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:9: 'imageStore' : no matching overloaded function found 
+ERROR: 0:9: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, r32f) uniform highp writeonly image2D arg_0;
+void textureStore_1e20f2() {
+  uvec2 arg_1 = uvec2(1u);
+  vec4 arg_2 = vec4(1.0f);
+  imageStore(arg_0, arg_1, arg_2);
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  textureStore_1e20f2();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:7: 'imageStore' : no matching overloaded function found 
+ERROR: 0:7: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 475cf0d..628e2cc 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,11 +1,49 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, r32i) uniform highp iimage2DArray arg_0;
+void textureStore_1e9fbd() {
+  uvec2 arg_1 = uvec2(1u);
+  int arg_2 = 1;
+  ivec4 arg_3 = ivec4(1);
+  uvec2 v = arg_1;
+  ivec4 v_1 = arg_3;
+  imageStore(arg_0, uvec3(v, uint(arg_2)), v_1);
+}
+void main() {
+  textureStore_1e9fbd();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:12: 'imageStore' : no matching overloaded function found 
+ERROR: 0:12: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, r32i) uniform highp iimage2DArray arg_0;
+void textureStore_1e9fbd() {
+  uvec2 arg_1 = uvec2(1u);
+  int arg_2 = 1;
+  ivec4 arg_3 = ivec4(1);
+  uvec2 v = arg_1;
+  ivec4 v_1 = arg_3;
+  imageStore(arg_0, uvec3(v, uint(arg_2)), v_1);
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  textureStore_1e9fbd();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:10: 'imageStore' : no matching overloaded function found 
+ERROR: 0:10: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 475cf0d..4f83e9e 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,11 +1,43 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, rgba16ui) uniform highp writeonly uimage3D arg_0;
+void textureStore_1efc36() {
+  uvec3 arg_1 = uvec3(1u);
+  uvec4 arg_2 = uvec4(1u);
+  imageStore(arg_0, arg_1, arg_2);
+}
+void main() {
+  textureStore_1efc36();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:9: 'imageStore' : no matching overloaded function found 
+ERROR: 0:9: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, rgba16ui) uniform highp writeonly uimage3D arg_0;
+void textureStore_1efc36() {
+  uvec3 arg_1 = uvec3(1u);
+  uvec4 arg_2 = uvec4(1u);
+  imageStore(arg_0, arg_1, arg_2);
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  textureStore_1efc36();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:7: 'imageStore' : no matching overloaded function found 
+ERROR: 0:7: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 475cf0d..a40c8a6 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,11 +1,45 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, r32i) uniform highp iimage1D arg_0;
+void textureStore_1fef04() {
+  uint arg_1 = 1u;
+  ivec4 arg_2 = ivec4(1);
+  imageStore(arg_0, arg_1, arg_2);
+}
+void main() {
+  textureStore_1fef04();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:5: 'iimage1D' : Reserved word. 
+WARNING: 0:5: 'layout' : useless application of layout qualifier 
+ERROR: 0:5: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, r32i) uniform highp iimage1D arg_0;
+void textureStore_1fef04() {
+  uint arg_1 = 1u;
+  ivec4 arg_2 = ivec4(1);
+  imageStore(arg_0, arg_1, arg_2);
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  textureStore_1fef04();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:3: 'iimage1D' : Reserved word. 
+WARNING: 0:3: 'layout' : useless application of layout qualifier 
+ERROR: 0:3: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 475cf0d..739bb22 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,11 +1,43 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, rgba8_snorm) uniform highp writeonly image3D arg_0;
+void textureStore_207fdd() {
+  uvec3 arg_1 = uvec3(1u);
+  vec4 arg_2 = vec4(1.0f);
+  imageStore(arg_0, arg_1, arg_2);
+}
+void main() {
+  textureStore_207fdd();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:9: 'imageStore' : no matching overloaded function found 
+ERROR: 0:9: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, rgba8_snorm) uniform highp writeonly image3D arg_0;
+void textureStore_207fdd() {
+  uvec3 arg_1 = uvec3(1u);
+  vec4 arg_2 = vec4(1.0f);
+  imageStore(arg_0, arg_1, arg_2);
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  textureStore_207fdd();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:7: 'imageStore' : no matching overloaded function found 
+ERROR: 0:7: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 475cf0d..cf82f84 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,11 +1,49 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, r32ui) uniform highp writeonly uimage2DArray arg_0;
+void textureStore_2383fc() {
+  uvec2 arg_1 = uvec2(1u);
+  int arg_2 = 1;
+  uvec4 arg_3 = uvec4(1u);
+  uvec2 v = arg_1;
+  uvec4 v_1 = arg_3;
+  imageStore(arg_0, uvec3(v, uint(arg_2)), v_1);
+}
+void main() {
+  textureStore_2383fc();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:12: 'imageStore' : no matching overloaded function found 
+ERROR: 0:12: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, r32ui) uniform highp writeonly uimage2DArray arg_0;
+void textureStore_2383fc() {
+  uvec2 arg_1 = uvec2(1u);
+  int arg_2 = 1;
+  uvec4 arg_3 = uvec4(1u);
+  uvec2 v = arg_1;
+  uvec4 v_1 = arg_3;
+  imageStore(arg_0, uvec3(v, uint(arg_2)), v_1);
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  textureStore_2383fc();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:10: 'imageStore' : no matching overloaded function found 
+ERROR: 0:10: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 475cf0d..b82f07f 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,11 +1,49 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, rgba8) uniform highp writeonly image2DArray arg_0;
+void textureStore_258ab0() {
+  uvec2 arg_1 = uvec2(1u);
+  int arg_2 = 1;
+  vec4 arg_3 = vec4(1.0f);
+  uvec2 v = arg_1;
+  vec4 v_1 = arg_3;
+  imageStore(arg_0, uvec3(v, uint(arg_2)), v_1);
+}
+void main() {
+  textureStore_258ab0();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:12: 'imageStore' : no matching overloaded function found 
+ERROR: 0:12: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, rgba8) uniform highp writeonly image2DArray arg_0;
+void textureStore_258ab0() {
+  uvec2 arg_1 = uvec2(1u);
+  int arg_2 = 1;
+  vec4 arg_3 = vec4(1.0f);
+  uvec2 v = arg_1;
+  vec4 v_1 = arg_3;
+  imageStore(arg_0, uvec3(v, uint(arg_2)), v_1);
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  textureStore_258ab0();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:10: 'imageStore' : no matching overloaded function found 
+ERROR: 0:10: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 3910173..c75627c 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,11 +1,49 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:994 internal compiler error: bgra8unorm should have been polyfilled to rgba8unorm
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, rgba8) uniform highp writeonly image2DArray arg_0;
+void textureStore_27063a() {
+  uvec2 arg_1 = uvec2(1u);
+  int arg_2 = 1;
+  vec4 arg_3 = vec4(1.0f);
+  uvec2 v = arg_1;
+  vec4 v_1 = arg_3.zyxw;
+  imageStore(arg_0, uvec3(v, uint(arg_2)), v_1);
+}
+void main() {
+  textureStore_27063a();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:12: 'imageStore' : no matching overloaded function found 
+ERROR: 0:12: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, rgba8) uniform highp writeonly image2DArray arg_0;
+void textureStore_27063a() {
+  uvec2 arg_1 = uvec2(1u);
+  int arg_2 = 1;
+  vec4 arg_3 = vec4(1.0f);
+  uvec2 v = arg_1;
+  vec4 v_1 = arg_3.zyxw;
+  imageStore(arg_0, uvec3(v, uint(arg_2)), v_1);
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  textureStore_27063a();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:10: 'imageStore' : no matching overloaded function found 
+ERROR: 0:10: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 475cf0d..c4f7402 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,11 +1,45 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, rgba32f) uniform highp writeonly image1D arg_0;
+void textureStore_285218() {
+  uint arg_1 = 1u;
+  vec4 arg_2 = vec4(1.0f);
+  imageStore(arg_0, arg_1, arg_2);
+}
+void main() {
+  textureStore_285218();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:5: 'image1D' : Reserved word. 
+WARNING: 0:5: 'layout' : useless application of layout qualifier 
+ERROR: 0:5: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, rgba32f) uniform highp writeonly image1D arg_0;
+void textureStore_285218() {
+  uint arg_1 = 1u;
+  vec4 arg_2 = vec4(1.0f);
+  imageStore(arg_0, arg_1, arg_2);
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  textureStore_285218();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:3: 'image1D' : Reserved word. 
+WARNING: 0:3: 'layout' : useless application of layout qualifier 
+ERROR: 0:3: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 475cf0d..8f92a74 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,11 +1,49 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, r32i) uniform highp writeonly iimage2DArray arg_0;
+void textureStore_28a7ec() {
+  uvec2 arg_1 = uvec2(1u);
+  int arg_2 = 1;
+  ivec4 arg_3 = ivec4(1);
+  uvec2 v = arg_1;
+  ivec4 v_1 = arg_3;
+  imageStore(arg_0, uvec3(v, uint(arg_2)), v_1);
+}
+void main() {
+  textureStore_28a7ec();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:12: 'imageStore' : no matching overloaded function found 
+ERROR: 0:12: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, r32i) uniform highp writeonly iimage2DArray arg_0;
+void textureStore_28a7ec() {
+  uvec2 arg_1 = uvec2(1u);
+  int arg_2 = 1;
+  ivec4 arg_3 = ivec4(1);
+  uvec2 v = arg_1;
+  ivec4 v_1 = arg_3;
+  imageStore(arg_0, uvec3(v, uint(arg_2)), v_1);
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  textureStore_28a7ec();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:10: 'imageStore' : no matching overloaded function found 
+ERROR: 0:10: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 475cf0d..2e62764 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,11 +1,45 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, r32f) uniform highp writeonly image1D arg_0;
+void textureStore_2ac6c7() {
+  int arg_1 = 1;
+  vec4 arg_2 = vec4(1.0f);
+  imageStore(arg_0, arg_1, arg_2);
+}
+void main() {
+  textureStore_2ac6c7();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:5: 'image1D' : Reserved word. 
+WARNING: 0:5: 'layout' : useless application of layout qualifier 
+ERROR: 0:5: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, r32f) uniform highp writeonly image1D arg_0;
+void textureStore_2ac6c7() {
+  int arg_1 = 1;
+  vec4 arg_2 = vec4(1.0f);
+  imageStore(arg_0, arg_1, arg_2);
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  textureStore_2ac6c7();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:3: 'image1D' : Reserved word. 
+WARNING: 0:3: 'layout' : useless application of layout qualifier 
+ERROR: 0:3: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 475cf0d..0b31966 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,11 +1,49 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 460
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, rg32f) uniform highp writeonly image2DArray arg_0;
+void textureStore_2d2835() {
+  uvec2 arg_1 = uvec2(1u);
+  uint arg_2 = 1u;
+  vec4 arg_3 = vec4(1.0f);
+  uvec2 v = arg_1;
+  vec4 v_1 = arg_3;
+  imageStore(arg_0, uvec3(v, uint(arg_2)), v_1);
+}
+void main() {
+  textureStore_2d2835();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:12: 'imageStore' : no matching overloaded function found 
+ERROR: 0:12: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 460
+
+layout(binding = 0, rg32f) uniform highp writeonly image2DArray arg_0;
+void textureStore_2d2835() {
+  uvec2 arg_1 = uvec2(1u);
+  uint arg_2 = 1u;
+  vec4 arg_3 = vec4(1.0f);
+  uvec2 v = arg_1;
+  vec4 v_1 = arg_3;
+  imageStore(arg_0, uvec3(v, uint(arg_2)), v_1);
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  textureStore_2d2835();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:10: 'imageStore' : no matching overloaded function found 
+ERROR: 0:10: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 f4b4716..b49bb0c 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,11 +1,43 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 460
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, r8) uniform highp image2D arg_0;
+void textureStore_2e512f() {
+  uvec2 arg_1 = uvec2(1u);
+  vec4 arg_2 = vec4(1.0f);
+  imageStore(arg_0, arg_1, arg_2);
+}
+void main() {
+  textureStore_2e512f();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:9: 'imageStore' : no matching overloaded function found 
+ERROR: 0:9: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 460
+
+layout(binding = 0, r8) uniform highp image2D arg_0;
+void textureStore_2e512f() {
+  uvec2 arg_1 = uvec2(1u);
+  vec4 arg_2 = vec4(1.0f);
+  imageStore(arg_0, arg_1, arg_2);
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  textureStore_2e512f();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:7: 'imageStore' : no matching overloaded function found 
+ERROR: 0:7: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 475cf0d..fd3e53b 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,11 +1,43 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, rgba32f) uniform highp writeonly image2D arg_0;
+void textureStore_2e6102() {
+  uvec2 arg_1 = uvec2(1u);
+  vec4 arg_2 = vec4(1.0f);
+  imageStore(arg_0, arg_1, arg_2);
+}
+void main() {
+  textureStore_2e6102();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:9: 'imageStore' : no matching overloaded function found 
+ERROR: 0:9: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, rgba32f) uniform highp writeonly image2D arg_0;
+void textureStore_2e6102() {
+  uvec2 arg_1 = uvec2(1u);
+  vec4 arg_2 = vec4(1.0f);
+  imageStore(arg_0, arg_1, arg_2);
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  textureStore_2e6102();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:7: 'imageStore' : no matching overloaded function found 
+ERROR: 0:7: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 475cf0d..e92146b 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,11 +1,45 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, rgba16ui) uniform highp writeonly uimage1D arg_0;
+void textureStore_2eb2a4() {
+  int arg_1 = 1;
+  uvec4 arg_2 = uvec4(1u);
+  imageStore(arg_0, arg_1, arg_2);
+}
+void main() {
+  textureStore_2eb2a4();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:5: 'uimage1D' : Reserved word. 
+WARNING: 0:5: 'layout' : useless application of layout qualifier 
+ERROR: 0:5: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, rgba16ui) uniform highp writeonly uimage1D arg_0;
+void textureStore_2eb2a4() {
+  int arg_1 = 1;
+  uvec4 arg_2 = uvec4(1u);
+  imageStore(arg_0, arg_1, arg_2);
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  textureStore_2eb2a4();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:3: 'uimage1D' : Reserved word. 
+WARNING: 0:3: 'layout' : useless application of layout qualifier 
+ERROR: 0:3: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 475cf0d..b88fde4 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,11 +1,45 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, rgba8_snorm) uniform highp writeonly image1D arg_0;
+void textureStore_2ed2a3() {
+  int arg_1 = 1;
+  vec4 arg_2 = vec4(1.0f);
+  imageStore(arg_0, arg_1, arg_2);
+}
+void main() {
+  textureStore_2ed2a3();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:5: 'image1D' : Reserved word. 
+WARNING: 0:5: 'layout' : useless application of layout qualifier 
+ERROR: 0:5: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, rgba8_snorm) uniform highp writeonly image1D arg_0;
+void textureStore_2ed2a3() {
+  int arg_1 = 1;
+  vec4 arg_2 = vec4(1.0f);
+  imageStore(arg_0, arg_1, arg_2);
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  textureStore_2ed2a3();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:3: 'image1D' : Reserved word. 
+WARNING: 0:3: 'layout' : useless application of layout qualifier 
+ERROR: 0:3: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 475cf0d..d247319 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,11 +1,45 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, r32ui) uniform highp uimage1D arg_0;
+void textureStore_32d3d6() {
+  uint arg_1 = 1u;
+  uvec4 arg_2 = uvec4(1u);
+  imageStore(arg_0, arg_1, arg_2);
+}
+void main() {
+  textureStore_32d3d6();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:5: 'uimage1D' : Reserved word. 
+WARNING: 0:5: 'layout' : useless application of layout qualifier 
+ERROR: 0:5: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, r32ui) uniform highp uimage1D arg_0;
+void textureStore_32d3d6() {
+  uint arg_1 = 1u;
+  uvec4 arg_2 = uvec4(1u);
+  imageStore(arg_0, arg_1, arg_2);
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  textureStore_32d3d6();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:3: 'uimage1D' : Reserved word. 
+WARNING: 0:3: 'layout' : useless application of layout qualifier 
+ERROR: 0:3: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 475cf0d..a8e4b5c 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,11 +1,49 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, rgba8) uniform highp writeonly image2DArray arg_0;
+void textureStore_330b7c() {
+  uvec2 arg_1 = uvec2(1u);
+  uint arg_2 = 1u;
+  vec4 arg_3 = vec4(1.0f);
+  uvec2 v = arg_1;
+  vec4 v_1 = arg_3;
+  imageStore(arg_0, uvec3(v, uint(arg_2)), v_1);
+}
+void main() {
+  textureStore_330b7c();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:12: 'imageStore' : no matching overloaded function found 
+ERROR: 0:12: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, rgba8) uniform highp writeonly image2DArray arg_0;
+void textureStore_330b7c() {
+  uvec2 arg_1 = uvec2(1u);
+  uint arg_2 = 1u;
+  vec4 arg_3 = vec4(1.0f);
+  uvec2 v = arg_1;
+  vec4 v_1 = arg_3;
+  imageStore(arg_0, uvec3(v, uint(arg_2)), v_1);
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  textureStore_330b7c();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:10: 'imageStore' : no matching overloaded function found 
+ERROR: 0:10: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 475cf0d..344281b 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,11 +1,49 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, rgba16ui) uniform highp writeonly uimage2DArray arg_0;
+void textureStore_33cec0() {
+  uvec2 arg_1 = uvec2(1u);
+  int arg_2 = 1;
+  uvec4 arg_3 = uvec4(1u);
+  uvec2 v = arg_1;
+  uvec4 v_1 = arg_3;
+  imageStore(arg_0, uvec3(v, uint(arg_2)), v_1);
+}
+void main() {
+  textureStore_33cec0();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:12: 'imageStore' : no matching overloaded function found 
+ERROR: 0:12: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, rgba16ui) uniform highp writeonly uimage2DArray arg_0;
+void textureStore_33cec0() {
+  uvec2 arg_1 = uvec2(1u);
+  int arg_2 = 1;
+  uvec4 arg_3 = uvec4(1u);
+  uvec2 v = arg_1;
+  uvec4 v_1 = arg_3;
+  imageStore(arg_0, uvec3(v, uint(arg_2)), v_1);
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  textureStore_33cec0();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:10: 'imageStore' : no matching overloaded function found 
+ERROR: 0:10: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 475cf0d..82158bd 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,11 +1,49 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, rgba32f) uniform highp writeonly image2DArray arg_0;
+void textureStore_37ffd4() {
+  uvec2 arg_1 = uvec2(1u);
+  int arg_2 = 1;
+  vec4 arg_3 = vec4(1.0f);
+  uvec2 v = arg_1;
+  vec4 v_1 = arg_3;
+  imageStore(arg_0, uvec3(v, uint(arg_2)), v_1);
+}
+void main() {
+  textureStore_37ffd4();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:12: 'imageStore' : no matching overloaded function found 
+ERROR: 0:12: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, rgba32f) uniform highp writeonly image2DArray arg_0;
+void textureStore_37ffd4() {
+  uvec2 arg_1 = uvec2(1u);
+  int arg_2 = 1;
+  vec4 arg_3 = vec4(1.0f);
+  uvec2 v = arg_1;
+  vec4 v_1 = arg_3;
+  imageStore(arg_0, uvec3(v, uint(arg_2)), v_1);
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  textureStore_37ffd4();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:10: 'imageStore' : no matching overloaded function found 
+ERROR: 0:10: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 475cf0d..f9ccc02 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,11 +1,45 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, rgba8ui) uniform highp writeonly uimage1D arg_0;
+void textureStore_3bec15() {
+  int arg_1 = 1;
+  uvec4 arg_2 = uvec4(1u);
+  imageStore(arg_0, arg_1, arg_2);
+}
+void main() {
+  textureStore_3bec15();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:5: 'uimage1D' : Reserved word. 
+WARNING: 0:5: 'layout' : useless application of layout qualifier 
+ERROR: 0:5: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, rgba8ui) uniform highp writeonly uimage1D arg_0;
+void textureStore_3bec15() {
+  int arg_1 = 1;
+  uvec4 arg_2 = uvec4(1u);
+  imageStore(arg_0, arg_1, arg_2);
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  textureStore_3bec15();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:3: 'uimage1D' : Reserved word. 
+WARNING: 0:3: 'layout' : useless application of layout qualifier 
+ERROR: 0:3: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 475cf0d..61a2d4b 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,11 +1,45 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, rgba8ui) uniform highp writeonly uimage1D arg_0;
+void textureStore_3c1937() {
+  uint arg_1 = 1u;
+  uvec4 arg_2 = uvec4(1u);
+  imageStore(arg_0, arg_1, arg_2);
+}
+void main() {
+  textureStore_3c1937();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:5: 'uimage1D' : Reserved word. 
+WARNING: 0:5: 'layout' : useless application of layout qualifier 
+ERROR: 0:5: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, rgba8ui) uniform highp writeonly uimage1D arg_0;
+void textureStore_3c1937() {
+  uint arg_1 = 1u;
+  uvec4 arg_2 = uvec4(1u);
+  imageStore(arg_0, arg_1, arg_2);
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  textureStore_3c1937();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:3: 'uimage1D' : Reserved word. 
+WARNING: 0:3: 'layout' : useless application of layout qualifier 
+ERROR: 0:3: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 475cf0d..8954863 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,11 +1,43 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, r32f) uniform highp image2D arg_0;
+void textureStore_3d1ebe() {
+  uvec2 arg_1 = uvec2(1u);
+  vec4 arg_2 = vec4(1.0f);
+  imageStore(arg_0, arg_1, arg_2);
+}
+void main() {
+  textureStore_3d1ebe();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:9: 'imageStore' : no matching overloaded function found 
+ERROR: 0:9: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, r32f) uniform highp image2D arg_0;
+void textureStore_3d1ebe() {
+  uvec2 arg_1 = uvec2(1u);
+  vec4 arg_2 = vec4(1.0f);
+  imageStore(arg_0, arg_1, arg_2);
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  textureStore_3d1ebe();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:7: 'imageStore' : no matching overloaded function found 
+ERROR: 0:7: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 475cf0d..dd336be 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,11 +1,43 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 460
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, rg32i) uniform highp writeonly iimage1D arg_0;
+void textureStore_3d6f01() {
+  uint arg_1 = 1u;
+  ivec4 arg_2 = ivec4(1);
+  imageStore(arg_0, arg_1, arg_2);
+}
+void main() {
+  textureStore_3d6f01();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:9: 'imageStore' : no matching overloaded function found 
+ERROR: 0:9: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 460
+
+layout(binding = 0, rg32i) uniform highp writeonly iimage1D arg_0;
+void textureStore_3d6f01() {
+  uint arg_1 = 1u;
+  ivec4 arg_2 = ivec4(1);
+  imageStore(arg_0, arg_1, arg_2);
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  textureStore_3d6f01();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:7: 'imageStore' : no matching overloaded function found 
+ERROR: 0:7: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 475cf0d..82354a9 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,11 +1,43 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 460
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, rg32ui) uniform highp writeonly uimage3D arg_0;
+void textureStore_3fb31f() {
+  uvec3 arg_1 = uvec3(1u);
+  uvec4 arg_2 = uvec4(1u);
+  imageStore(arg_0, arg_1, arg_2);
+}
+void main() {
+  textureStore_3fb31f();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:9: 'imageStore' : no matching overloaded function found 
+ERROR: 0:9: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 460
+
+layout(binding = 0, rg32ui) uniform highp writeonly uimage3D arg_0;
+void textureStore_3fb31f() {
+  uvec3 arg_1 = uvec3(1u);
+  uvec4 arg_2 = uvec4(1u);
+  imageStore(arg_0, arg_1, arg_2);
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  textureStore_3fb31f();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:7: 'imageStore' : no matching overloaded function found 
+ERROR: 0:7: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 475cf0d..28dc96d 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,11 +1,43 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, rgba8_snorm) uniform highp writeonly image2D arg_0;
+void textureStore_40c455() {
+  uvec2 arg_1 = uvec2(1u);
+  vec4 arg_2 = vec4(1.0f);
+  imageStore(arg_0, arg_1, arg_2);
+}
+void main() {
+  textureStore_40c455();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:9: 'imageStore' : no matching overloaded function found 
+ERROR: 0:9: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, rgba8_snorm) uniform highp writeonly image2D arg_0;
+void textureStore_40c455() {
+  uvec2 arg_1 = uvec2(1u);
+  vec4 arg_2 = vec4(1.0f);
+  imageStore(arg_0, arg_1, arg_2);
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  textureStore_40c455();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:7: 'imageStore' : no matching overloaded function found 
+ERROR: 0:7: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 475cf0d..d5b3a06 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,11 +1,43 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, r32f) uniform highp writeonly image3D arg_0;
+void textureStore_4288fc() {
+  uvec3 arg_1 = uvec3(1u);
+  vec4 arg_2 = vec4(1.0f);
+  imageStore(arg_0, arg_1, arg_2);
+}
+void main() {
+  textureStore_4288fc();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:9: 'imageStore' : no matching overloaded function found 
+ERROR: 0:9: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, r32f) uniform highp writeonly image3D arg_0;
+void textureStore_4288fc() {
+  uvec3 arg_1 = uvec3(1u);
+  vec4 arg_2 = vec4(1.0f);
+  imageStore(arg_0, arg_1, arg_2);
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  textureStore_4288fc();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:7: 'imageStore' : no matching overloaded function found 
+ERROR: 0:7: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 f4b4716..31e921c 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,11 +1,43 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 460
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, rg32ui) uniform highp uimage3D arg_0;
+void textureStore_473ead() {
+  uvec3 arg_1 = uvec3(1u);
+  uvec4 arg_2 = uvec4(1u);
+  imageStore(arg_0, arg_1, arg_2);
+}
+void main() {
+  textureStore_473ead();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:9: 'imageStore' : no matching overloaded function found 
+ERROR: 0:9: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 460
+
+layout(binding = 0, rg32ui) uniform highp uimage3D arg_0;
+void textureStore_473ead() {
+  uvec3 arg_1 = uvec3(1u);
+  uvec4 arg_2 = uvec4(1u);
+  imageStore(arg_0, arg_1, arg_2);
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  textureStore_473ead();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:7: 'imageStore' : no matching overloaded function found 
+ERROR: 0:7: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 475cf0d..f4d917e 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,11 +1,43 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, rgba32i) uniform highp writeonly iimage3D arg_0;
+void textureStore_486500() {
+  uvec3 arg_1 = uvec3(1u);
+  ivec4 arg_2 = ivec4(1);
+  imageStore(arg_0, arg_1, arg_2);
+}
+void main() {
+  textureStore_486500();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:9: 'imageStore' : no matching overloaded function found 
+ERROR: 0:9: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, rgba32i) uniform highp writeonly iimage3D arg_0;
+void textureStore_486500() {
+  uvec3 arg_1 = uvec3(1u);
+  ivec4 arg_2 = ivec4(1);
+  imageStore(arg_0, arg_1, arg_2);
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  textureStore_486500();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:7: 'imageStore' : no matching overloaded function found 
+ERROR: 0:7: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 475cf0d..c2bf269 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,11 +1,43 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, r32ui) uniform highp uimage2D arg_0;
+void textureStore_4bf1fd() {
+  uvec2 arg_1 = uvec2(1u);
+  uvec4 arg_2 = uvec4(1u);
+  imageStore(arg_0, arg_1, arg_2);
+}
+void main() {
+  textureStore_4bf1fd();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:9: 'imageStore' : no matching overloaded function found 
+ERROR: 0:9: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, r32ui) uniform highp uimage2D arg_0;
+void textureStore_4bf1fd() {
+  uvec2 arg_1 = uvec2(1u);
+  uvec4 arg_2 = uvec4(1u);
+  imageStore(arg_0, arg_1, arg_2);
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  textureStore_4bf1fd();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:7: 'imageStore' : no matching overloaded function found 
+ERROR: 0:7: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 475cf0d..00a128d 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,11 +1,49 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 460
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, rg32i) uniform highp writeonly iimage2DArray arg_0;
+void textureStore_4c454f() {
+  uvec2 arg_1 = uvec2(1u);
+  uint arg_2 = 1u;
+  ivec4 arg_3 = ivec4(1);
+  uvec2 v = arg_1;
+  ivec4 v_1 = arg_3;
+  imageStore(arg_0, uvec3(v, uint(arg_2)), v_1);
+}
+void main() {
+  textureStore_4c454f();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:12: 'imageStore' : no matching overloaded function found 
+ERROR: 0:12: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 460
+
+layout(binding = 0, rg32i) uniform highp writeonly iimage2DArray arg_0;
+void textureStore_4c454f() {
+  uvec2 arg_1 = uvec2(1u);
+  uint arg_2 = 1u;
+  ivec4 arg_3 = ivec4(1);
+  uvec2 v = arg_1;
+  ivec4 v_1 = arg_3;
+  imageStore(arg_0, uvec3(v, uint(arg_2)), v_1);
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  textureStore_4c454f();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:10: 'imageStore' : no matching overloaded function found 
+ERROR: 0:10: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 023772f..6338d00 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:994 internal compiler error: bgra8unorm should have been polyfilled to rgba8unorm
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 475cf0d..904848f 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,11 +1,49 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 460
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, rg32ui) uniform highp writeonly uimage2DArray arg_0;
+void textureStore_4d359d() {
+  uvec2 arg_1 = uvec2(1u);
+  int arg_2 = 1;
+  uvec4 arg_3 = uvec4(1u);
+  uvec2 v = arg_1;
+  uvec4 v_1 = arg_3;
+  imageStore(arg_0, uvec3(v, uint(arg_2)), v_1);
+}
+void main() {
+  textureStore_4d359d();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:12: 'imageStore' : no matching overloaded function found 
+ERROR: 0:12: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 460
+
+layout(binding = 0, rg32ui) uniform highp writeonly uimage2DArray arg_0;
+void textureStore_4d359d() {
+  uvec2 arg_1 = uvec2(1u);
+  int arg_2 = 1;
+  uvec4 arg_3 = uvec4(1u);
+  uvec2 v = arg_1;
+  uvec4 v_1 = arg_3;
+  imageStore(arg_0, uvec3(v, uint(arg_2)), v_1);
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  textureStore_4d359d();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:10: 'imageStore' : no matching overloaded function found 
+ERROR: 0:10: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 023772f..6338d00 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:994 internal compiler error: bgra8unorm should have been polyfilled to rgba8unorm
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 475cf0d..ce85a17 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,11 +1,43 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 460
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, rg32ui) uniform highp writeonly uimage2D arg_0;
+void textureStore_506a71() {
+  uvec2 arg_1 = uvec2(1u);
+  uvec4 arg_2 = uvec4(1u);
+  imageStore(arg_0, arg_1, arg_2);
+}
+void main() {
+  textureStore_506a71();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:9: 'imageStore' : no matching overloaded function found 
+ERROR: 0:9: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 460
+
+layout(binding = 0, rg32ui) uniform highp writeonly uimage2D arg_0;
+void textureStore_506a71() {
+  uvec2 arg_1 = uvec2(1u);
+  uvec4 arg_2 = uvec4(1u);
+  imageStore(arg_0, arg_1, arg_2);
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  textureStore_506a71();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:7: 'imageStore' : no matching overloaded function found 
+ERROR: 0:7: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 475cf0d..1a804ac 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,11 +1,43 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, r32ui) uniform highp uimage3D arg_0;
+void textureStore_5246b4() {
+  uvec3 arg_1 = uvec3(1u);
+  uvec4 arg_2 = uvec4(1u);
+  imageStore(arg_0, arg_1, arg_2);
+}
+void main() {
+  textureStore_5246b4();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:9: 'imageStore' : no matching overloaded function found 
+ERROR: 0:9: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, r32ui) uniform highp uimage3D arg_0;
+void textureStore_5246b4() {
+  uvec3 arg_1 = uvec3(1u);
+  uvec4 arg_2 = uvec4(1u);
+  imageStore(arg_0, arg_1, arg_2);
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  textureStore_5246b4();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:7: 'imageStore' : no matching overloaded function found 
+ERROR: 0:7: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 475cf0d..dc2aeb6 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,11 +1,43 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, rgba32i) uniform highp writeonly iimage2D arg_0;
+void textureStore_52f503() {
+  uvec2 arg_1 = uvec2(1u);
+  ivec4 arg_2 = ivec4(1);
+  imageStore(arg_0, arg_1, arg_2);
+}
+void main() {
+  textureStore_52f503();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:9: 'imageStore' : no matching overloaded function found 
+ERROR: 0:9: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, rgba32i) uniform highp writeonly iimage2D arg_0;
+void textureStore_52f503() {
+  uvec2 arg_1 = uvec2(1u);
+  ivec4 arg_2 = ivec4(1);
+  imageStore(arg_0, arg_1, arg_2);
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  textureStore_52f503();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:7: 'imageStore' : no matching overloaded function found 
+ERROR: 0:7: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 023772f..6338d00 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:994 internal compiler error: bgra8unorm should have been polyfilled to rgba8unorm
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 f4b4716..4e0c339 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,11 +1,43 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 460
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, rg32i) uniform highp iimage1D arg_0;
+void textureStore_574a31() {
+  uint arg_1 = 1u;
+  ivec4 arg_2 = ivec4(1);
+  imageStore(arg_0, arg_1, arg_2);
+}
+void main() {
+  textureStore_574a31();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:9: 'imageStore' : no matching overloaded function found 
+ERROR: 0:9: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 460
+
+layout(binding = 0, rg32i) uniform highp iimage1D arg_0;
+void textureStore_574a31() {
+  uint arg_1 = 1u;
+  ivec4 arg_2 = ivec4(1);
+  imageStore(arg_0, arg_1, arg_2);
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  textureStore_574a31();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:7: 'imageStore' : no matching overloaded function found 
+ERROR: 0:7: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 475cf0d..900d83e 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,11 +1,49 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, rgba32f) uniform highp writeonly image2DArray arg_0;
+void textureStore_5841f8() {
+  uvec2 arg_1 = uvec2(1u);
+  uint arg_2 = 1u;
+  vec4 arg_3 = vec4(1.0f);
+  uvec2 v = arg_1;
+  vec4 v_1 = arg_3;
+  imageStore(arg_0, uvec3(v, uint(arg_2)), v_1);
+}
+void main() {
+  textureStore_5841f8();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:12: 'imageStore' : no matching overloaded function found 
+ERROR: 0:12: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, rgba32f) uniform highp writeonly image2DArray arg_0;
+void textureStore_5841f8() {
+  uvec2 arg_1 = uvec2(1u);
+  uint arg_2 = 1u;
+  vec4 arg_3 = vec4(1.0f);
+  uvec2 v = arg_1;
+  vec4 v_1 = arg_3;
+  imageStore(arg_0, uvec3(v, uint(arg_2)), v_1);
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  textureStore_5841f8();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:10: 'imageStore' : no matching overloaded function found 
+ERROR: 0:10: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 475cf0d..32e091d 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,11 +1,49 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, rgba8_snorm) uniform highp writeonly image2DArray arg_0;
+void textureStore_59a0ab() {
+  uvec2 arg_1 = uvec2(1u);
+  int arg_2 = 1;
+  vec4 arg_3 = vec4(1.0f);
+  uvec2 v = arg_1;
+  vec4 v_1 = arg_3;
+  imageStore(arg_0, uvec3(v, uint(arg_2)), v_1);
+}
+void main() {
+  textureStore_59a0ab();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:12: 'imageStore' : no matching overloaded function found 
+ERROR: 0:12: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, rgba8_snorm) uniform highp writeonly image2DArray arg_0;
+void textureStore_59a0ab() {
+  uvec2 arg_1 = uvec2(1u);
+  int arg_2 = 1;
+  vec4 arg_3 = vec4(1.0f);
+  uvec2 v = arg_1;
+  vec4 v_1 = arg_3;
+  imageStore(arg_0, uvec3(v, uint(arg_2)), v_1);
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  textureStore_59a0ab();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:10: 'imageStore' : no matching overloaded function found 
+ERROR: 0:10: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 475cf0d..67c2ecb 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,11 +1,45 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, rgba16i) uniform highp writeonly iimage1D arg_0;
+void textureStore_5a2f8f() {
+  int arg_1 = 1;
+  ivec4 arg_2 = ivec4(1);
+  imageStore(arg_0, arg_1, arg_2);
+}
+void main() {
+  textureStore_5a2f8f();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:5: 'iimage1D' : Reserved word. 
+WARNING: 0:5: 'layout' : useless application of layout qualifier 
+ERROR: 0:5: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, rgba16i) uniform highp writeonly iimage1D arg_0;
+void textureStore_5a2f8f() {
+  int arg_1 = 1;
+  ivec4 arg_2 = ivec4(1);
+  imageStore(arg_0, arg_1, arg_2);
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  textureStore_5a2f8f();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:3: 'iimage1D' : Reserved word. 
+WARNING: 0:3: 'layout' : useless application of layout qualifier 
+ERROR: 0:3: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 f4b4716..7814937 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,11 +1,43 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 460
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, rg32f) uniform highp image2D arg_0;
+void textureStore_5b17eb() {
+  uvec2 arg_1 = uvec2(1u);
+  vec4 arg_2 = vec4(1.0f);
+  imageStore(arg_0, arg_1, arg_2);
+}
+void main() {
+  textureStore_5b17eb();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:9: 'imageStore' : no matching overloaded function found 
+ERROR: 0:9: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 460
+
+layout(binding = 0, rg32f) uniform highp image2D arg_0;
+void textureStore_5b17eb() {
+  uvec2 arg_1 = uvec2(1u);
+  vec4 arg_2 = vec4(1.0f);
+  imageStore(arg_0, arg_1, arg_2);
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  textureStore_5b17eb();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:7: 'imageStore' : no matching overloaded function found 
+ERROR: 0:7: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 475cf0d..83325fe 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,11 +1,49 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 460
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, rg32ui) uniform highp writeonly uimage2DArray arg_0;
+void textureStore_5bc4f3() {
+  uvec2 arg_1 = uvec2(1u);
+  uint arg_2 = 1u;
+  uvec4 arg_3 = uvec4(1u);
+  uvec2 v = arg_1;
+  uvec4 v_1 = arg_3;
+  imageStore(arg_0, uvec3(v, uint(arg_2)), v_1);
+}
+void main() {
+  textureStore_5bc4f3();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:12: 'imageStore' : no matching overloaded function found 
+ERROR: 0:12: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 460
+
+layout(binding = 0, rg32ui) uniform highp writeonly uimage2DArray arg_0;
+void textureStore_5bc4f3() {
+  uvec2 arg_1 = uvec2(1u);
+  uint arg_2 = 1u;
+  uvec4 arg_3 = uvec4(1u);
+  uvec2 v = arg_1;
+  uvec4 v_1 = arg_3;
+  imageStore(arg_0, uvec3(v, uint(arg_2)), v_1);
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  textureStore_5bc4f3();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:10: 'imageStore' : no matching overloaded function found 
+ERROR: 0:10: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 475cf0d..9b4c9f7 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,11 +1,43 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, r32f) uniform highp image3D arg_0;
+void textureStore_5ec6b2() {
+  uvec3 arg_1 = uvec3(1u);
+  vec4 arg_2 = vec4(1.0f);
+  imageStore(arg_0, arg_1, arg_2);
+}
+void main() {
+  textureStore_5ec6b2();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:9: 'imageStore' : no matching overloaded function found 
+ERROR: 0:9: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, r32f) uniform highp image3D arg_0;
+void textureStore_5ec6b2() {
+  uvec3 arg_1 = uvec3(1u);
+  vec4 arg_2 = vec4(1.0f);
+  imageStore(arg_0, arg_1, arg_2);
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  textureStore_5ec6b2();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:7: 'imageStore' : no matching overloaded function found 
+ERROR: 0:7: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 f4b4716..63152c5 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,11 +1,49 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 460
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, rg32f) uniform highp image2DArray arg_0;
+void textureStore_5ee194() {
+  uvec2 arg_1 = uvec2(1u);
+  uint arg_2 = 1u;
+  vec4 arg_3 = vec4(1.0f);
+  uvec2 v = arg_1;
+  vec4 v_1 = arg_3;
+  imageStore(arg_0, uvec3(v, uint(arg_2)), v_1);
+}
+void main() {
+  textureStore_5ee194();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:12: 'imageStore' : no matching overloaded function found 
+ERROR: 0:12: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 460
+
+layout(binding = 0, rg32f) uniform highp image2DArray arg_0;
+void textureStore_5ee194() {
+  uvec2 arg_1 = uvec2(1u);
+  uint arg_2 = 1u;
+  vec4 arg_3 = vec4(1.0f);
+  uvec2 v = arg_1;
+  vec4 v_1 = arg_3;
+  imageStore(arg_0, uvec3(v, uint(arg_2)), v_1);
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  textureStore_5ee194();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:10: 'imageStore' : no matching overloaded function found 
+ERROR: 0:10: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 475cf0d..47f1ae0 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,11 +1,49 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, rgba8_snorm) uniform highp writeonly image2DArray arg_0;
+void textureStore_5f9a49() {
+  uvec2 arg_1 = uvec2(1u);
+  uint arg_2 = 1u;
+  vec4 arg_3 = vec4(1.0f);
+  uvec2 v = arg_1;
+  vec4 v_1 = arg_3;
+  imageStore(arg_0, uvec3(v, uint(arg_2)), v_1);
+}
+void main() {
+  textureStore_5f9a49();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:12: 'imageStore' : no matching overloaded function found 
+ERROR: 0:12: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, rgba8_snorm) uniform highp writeonly image2DArray arg_0;
+void textureStore_5f9a49() {
+  uvec2 arg_1 = uvec2(1u);
+  uint arg_2 = 1u;
+  vec4 arg_3 = vec4(1.0f);
+  uvec2 v = arg_1;
+  vec4 v_1 = arg_3;
+  imageStore(arg_0, uvec3(v, uint(arg_2)), v_1);
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  textureStore_5f9a49();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:10: 'imageStore' : no matching overloaded function found 
+ERROR: 0:10: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 475cf0d..a0bad5c 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,11 +1,43 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 460
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, rg32f) uniform highp writeonly image1D arg_0;
+void textureStore_602b5a() {
+  uint arg_1 = 1u;
+  vec4 arg_2 = vec4(1.0f);
+  imageStore(arg_0, arg_1, arg_2);
+}
+void main() {
+  textureStore_602b5a();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:9: 'imageStore' : no matching overloaded function found 
+ERROR: 0:9: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 460
+
+layout(binding = 0, rg32f) uniform highp writeonly image1D arg_0;
+void textureStore_602b5a() {
+  uint arg_1 = 1u;
+  vec4 arg_2 = vec4(1.0f);
+  imageStore(arg_0, arg_1, arg_2);
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  textureStore_602b5a();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:7: 'imageStore' : no matching overloaded function found 
+ERROR: 0:7: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 f4b4716..5d10ac9 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,11 +1,43 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 460
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, rg32f) uniform highp image1D arg_0;
+void textureStore_635584() {
+  uint arg_1 = 1u;
+  vec4 arg_2 = vec4(1.0f);
+  imageStore(arg_0, arg_1, arg_2);
+}
+void main() {
+  textureStore_635584();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:9: 'imageStore' : no matching overloaded function found 
+ERROR: 0:9: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 460
+
+layout(binding = 0, rg32f) uniform highp image1D arg_0;
+void textureStore_635584() {
+  uint arg_1 = 1u;
+  vec4 arg_2 = vec4(1.0f);
+  imageStore(arg_0, arg_1, arg_2);
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  textureStore_635584();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:7: 'imageStore' : no matching overloaded function found 
+ERROR: 0:7: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 f4b4716..0210e27 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,11 +1,43 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 460
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, rg32i) uniform highp iimage2D arg_0;
+void textureStore_63f34a() {
+  uvec2 arg_1 = uvec2(1u);
+  ivec4 arg_2 = ivec4(1);
+  imageStore(arg_0, arg_1, arg_2);
+}
+void main() {
+  textureStore_63f34a();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:9: 'imageStore' : no matching overloaded function found 
+ERROR: 0:9: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 460
+
+layout(binding = 0, rg32i) uniform highp iimage2D arg_0;
+void textureStore_63f34a() {
+  uvec2 arg_1 = uvec2(1u);
+  ivec4 arg_2 = ivec4(1);
+  imageStore(arg_0, arg_1, arg_2);
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  textureStore_63f34a();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:7: 'imageStore' : no matching overloaded function found 
+ERROR: 0:7: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 475cf0d..28f94de 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,11 +1,49 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, r32f) uniform highp writeonly image2DArray arg_0;
+void textureStore_699a1b() {
+  uvec2 arg_1 = uvec2(1u);
+  uint arg_2 = 1u;
+  vec4 arg_3 = vec4(1.0f);
+  uvec2 v = arg_1;
+  vec4 v_1 = arg_3;
+  imageStore(arg_0, uvec3(v, uint(arg_2)), v_1);
+}
+void main() {
+  textureStore_699a1b();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:12: 'imageStore' : no matching overloaded function found 
+ERROR: 0:12: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, r32f) uniform highp writeonly image2DArray arg_0;
+void textureStore_699a1b() {
+  uvec2 arg_1 = uvec2(1u);
+  uint arg_2 = 1u;
+  vec4 arg_3 = vec4(1.0f);
+  uvec2 v = arg_1;
+  vec4 v_1 = arg_3;
+  imageStore(arg_0, uvec3(v, uint(arg_2)), v_1);
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  textureStore_699a1b();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:10: 'imageStore' : no matching overloaded function found 
+ERROR: 0:10: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 475cf0d..f4d0d37 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,11 +1,45 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, rgba32f) uniform highp writeonly image1D arg_0;
+void textureStore_6b75c3() {
+  int arg_1 = 1;
+  vec4 arg_2 = vec4(1.0f);
+  imageStore(arg_0, arg_1, arg_2);
+}
+void main() {
+  textureStore_6b75c3();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:5: 'image1D' : Reserved word. 
+WARNING: 0:5: 'layout' : useless application of layout qualifier 
+ERROR: 0:5: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, rgba32f) uniform highp writeonly image1D arg_0;
+void textureStore_6b75c3() {
+  int arg_1 = 1;
+  vec4 arg_2 = vec4(1.0f);
+  imageStore(arg_0, arg_1, arg_2);
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  textureStore_6b75c3();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:3: 'image1D' : Reserved word. 
+WARNING: 0:3: 'layout' : useless application of layout qualifier 
+ERROR: 0:3: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 475cf0d..0cfb06f 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,11 +1,45 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, r32i) uniform highp writeonly iimage1D arg_0;
+void textureStore_6b80d2() {
+  int arg_1 = 1;
+  ivec4 arg_2 = ivec4(1);
+  imageStore(arg_0, arg_1, arg_2);
+}
+void main() {
+  textureStore_6b80d2();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:5: 'iimage1D' : Reserved word. 
+WARNING: 0:5: 'layout' : useless application of layout qualifier 
+ERROR: 0:5: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, r32i) uniform highp writeonly iimage1D arg_0;
+void textureStore_6b80d2() {
+  int arg_1 = 1;
+  ivec4 arg_2 = ivec4(1);
+  imageStore(arg_0, arg_1, arg_2);
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  textureStore_6b80d2();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:3: 'iimage1D' : Reserved word. 
+WARNING: 0:3: 'layout' : useless application of layout qualifier 
+ERROR: 0:3: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 475cf0d..6833c0b 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,11 +1,43 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, r32i) uniform highp iimage2D arg_0;
+void textureStore_6c4a70() {
+  uvec2 arg_1 = uvec2(1u);
+  ivec4 arg_2 = ivec4(1);
+  imageStore(arg_0, arg_1, arg_2);
+}
+void main() {
+  textureStore_6c4a70();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:9: 'imageStore' : no matching overloaded function found 
+ERROR: 0:9: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, r32i) uniform highp iimage2D arg_0;
+void textureStore_6c4a70() {
+  uvec2 arg_1 = uvec2(1u);
+  ivec4 arg_2 = ivec4(1);
+  imageStore(arg_0, arg_1, arg_2);
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  textureStore_6c4a70();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:7: 'imageStore' : no matching overloaded function found 
+ERROR: 0:7: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 475cf0d..3189539 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,11 +1,45 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, r32f) uniform highp image1D arg_0;
+void textureStore_6e6cc0() {
+  int arg_1 = 1;
+  vec4 arg_2 = vec4(1.0f);
+  imageStore(arg_0, arg_1, arg_2);
+}
+void main() {
+  textureStore_6e6cc0();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:5: 'image1D' : Reserved word. 
+WARNING: 0:5: 'layout' : useless application of layout qualifier 
+ERROR: 0:5: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, r32f) uniform highp image1D arg_0;
+void textureStore_6e6cc0() {
+  int arg_1 = 1;
+  vec4 arg_2 = vec4(1.0f);
+  imageStore(arg_0, arg_1, arg_2);
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  textureStore_6e6cc0();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:3: 'image1D' : Reserved word. 
+WARNING: 0:3: 'layout' : useless application of layout qualifier 
+ERROR: 0:3: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 f4b4716..0f665f4 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,11 +1,49 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 460
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, r8) uniform highp image2DArray arg_0;
+void textureStore_6f0c92() {
+  uvec2 arg_1 = uvec2(1u);
+  int arg_2 = 1;
+  vec4 arg_3 = vec4(1.0f);
+  uvec2 v = arg_1;
+  vec4 v_1 = arg_3;
+  imageStore(arg_0, uvec3(v, uint(arg_2)), v_1);
+}
+void main() {
+  textureStore_6f0c92();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:12: 'imageStore' : no matching overloaded function found 
+ERROR: 0:12: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 460
+
+layout(binding = 0, r8) uniform highp image2DArray arg_0;
+void textureStore_6f0c92() {
+  uvec2 arg_1 = uvec2(1u);
+  int arg_2 = 1;
+  vec4 arg_3 = vec4(1.0f);
+  uvec2 v = arg_1;
+  vec4 v_1 = arg_3;
+  imageStore(arg_0, uvec3(v, uint(arg_2)), v_1);
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  textureStore_6f0c92();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:10: 'imageStore' : no matching overloaded function found 
+ERROR: 0:10: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 475cf0d..bf2a4f8 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,11 +1,49 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, rgba32ui) uniform highp writeonly uimage2DArray arg_0;
+void textureStore_6f8642() {
+  uvec2 arg_1 = uvec2(1u);
+  int arg_2 = 1;
+  uvec4 arg_3 = uvec4(1u);
+  uvec2 v = arg_1;
+  uvec4 v_1 = arg_3;
+  imageStore(arg_0, uvec3(v, uint(arg_2)), v_1);
+}
+void main() {
+  textureStore_6f8642();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:12: 'imageStore' : no matching overloaded function found 
+ERROR: 0:12: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, rgba32ui) uniform highp writeonly uimage2DArray arg_0;
+void textureStore_6f8642() {
+  uvec2 arg_1 = uvec2(1u);
+  int arg_2 = 1;
+  uvec4 arg_3 = uvec4(1u);
+  uvec2 v = arg_1;
+  uvec4 v_1 = arg_3;
+  imageStore(arg_0, uvec3(v, uint(arg_2)), v_1);
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  textureStore_6f8642();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:10: 'imageStore' : no matching overloaded function found 
+ERROR: 0:10: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 475cf0d..cdd3ba3 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,11 +1,43 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 460
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, r8) uniform highp writeonly image1D arg_0;
+void textureStore_6fd2b1() {
+  uint arg_1 = 1u;
+  vec4 arg_2 = vec4(1.0f);
+  imageStore(arg_0, arg_1, arg_2);
+}
+void main() {
+  textureStore_6fd2b1();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:9: 'imageStore' : no matching overloaded function found 
+ERROR: 0:9: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 460
+
+layout(binding = 0, r8) uniform highp writeonly image1D arg_0;
+void textureStore_6fd2b1() {
+  uint arg_1 = 1u;
+  vec4 arg_2 = vec4(1.0f);
+  imageStore(arg_0, arg_1, arg_2);
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  textureStore_6fd2b1();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:7: 'imageStore' : no matching overloaded function found 
+ERROR: 0:7: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 475cf0d..1b84922 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,11 +1,43 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 460
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, rg32f) uniform highp writeonly image2D arg_0;
+void textureStore_726472() {
+  uvec2 arg_1 = uvec2(1u);
+  vec4 arg_2 = vec4(1.0f);
+  imageStore(arg_0, arg_1, arg_2);
+}
+void main() {
+  textureStore_726472();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:9: 'imageStore' : no matching overloaded function found 
+ERROR: 0:9: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 460
+
+layout(binding = 0, rg32f) uniform highp writeonly image2D arg_0;
+void textureStore_726472() {
+  uvec2 arg_1 = uvec2(1u);
+  vec4 arg_2 = vec4(1.0f);
+  imageStore(arg_0, arg_1, arg_2);
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  textureStore_726472();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:7: 'imageStore' : no matching overloaded function found 
+ERROR: 0:7: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 475cf0d..4a6061a 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,11 +1,49 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 460
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, rg32i) uniform highp writeonly iimage2DArray arg_0;
+void textureStore_72fa64() {
+  uvec2 arg_1 = uvec2(1u);
+  int arg_2 = 1;
+  ivec4 arg_3 = ivec4(1);
+  uvec2 v = arg_1;
+  ivec4 v_1 = arg_3;
+  imageStore(arg_0, uvec3(v, uint(arg_2)), v_1);
+}
+void main() {
+  textureStore_72fa64();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:12: 'imageStore' : no matching overloaded function found 
+ERROR: 0:12: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 460
+
+layout(binding = 0, rg32i) uniform highp writeonly iimage2DArray arg_0;
+void textureStore_72fa64() {
+  uvec2 arg_1 = uvec2(1u);
+  int arg_2 = 1;
+  ivec4 arg_3 = ivec4(1);
+  uvec2 v = arg_1;
+  ivec4 v_1 = arg_3;
+  imageStore(arg_0, uvec3(v, uint(arg_2)), v_1);
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  textureStore_72fa64();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:10: 'imageStore' : no matching overloaded function found 
+ERROR: 0:10: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 475cf0d..522ff23 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,11 +1,43 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, rgba8) uniform highp writeonly image2D arg_0;
+void textureStore_73bbbc() {
+  uvec2 arg_1 = uvec2(1u);
+  vec4 arg_2 = vec4(1.0f);
+  imageStore(arg_0, arg_1, arg_2);
+}
+void main() {
+  textureStore_73bbbc();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:9: 'imageStore' : no matching overloaded function found 
+ERROR: 0:9: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, rgba8) uniform highp writeonly image2D arg_0;
+void textureStore_73bbbc() {
+  uvec2 arg_1 = uvec2(1u);
+  vec4 arg_2 = vec4(1.0f);
+  imageStore(arg_0, arg_1, arg_2);
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  textureStore_73bbbc();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:7: 'imageStore' : no matching overloaded function found 
+ERROR: 0:7: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 f4b4716..f9a43a0 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,11 +1,43 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 460
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, rg32i) uniform highp iimage3D arg_0;
+void textureStore_7792fa() {
+  uvec3 arg_1 = uvec3(1u);
+  ivec4 arg_2 = ivec4(1);
+  imageStore(arg_0, arg_1, arg_2);
+}
+void main() {
+  textureStore_7792fa();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:9: 'imageStore' : no matching overloaded function found 
+ERROR: 0:9: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 460
+
+layout(binding = 0, rg32i) uniform highp iimage3D arg_0;
+void textureStore_7792fa() {
+  uvec3 arg_1 = uvec3(1u);
+  ivec4 arg_2 = ivec4(1);
+  imageStore(arg_0, arg_1, arg_2);
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  textureStore_7792fa();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:7: 'imageStore' : no matching overloaded function found 
+ERROR: 0:7: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 475cf0d..b6ea346 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,11 +1,49 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, rgba16ui) uniform highp writeonly uimage2DArray arg_0;
+void textureStore_779d14() {
+  uvec2 arg_1 = uvec2(1u);
+  uint arg_2 = 1u;
+  uvec4 arg_3 = uvec4(1u);
+  uvec2 v = arg_1;
+  uvec4 v_1 = arg_3;
+  imageStore(arg_0, uvec3(v, uint(arg_2)), v_1);
+}
+void main() {
+  textureStore_779d14();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:12: 'imageStore' : no matching overloaded function found 
+ERROR: 0:12: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, rgba16ui) uniform highp writeonly uimage2DArray arg_0;
+void textureStore_779d14() {
+  uvec2 arg_1 = uvec2(1u);
+  uint arg_2 = 1u;
+  uvec4 arg_3 = uvec4(1u);
+  uvec2 v = arg_1;
+  uvec4 v_1 = arg_3;
+  imageStore(arg_0, uvec3(v, uint(arg_2)), v_1);
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  textureStore_779d14();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:10: 'imageStore' : no matching overloaded function found 
+ERROR: 0:10: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 f4b4716..6904c03 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,11 +1,43 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 460
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, rg32f) uniform highp image3D arg_0;
+void textureStore_7b8f86() {
+  uvec3 arg_1 = uvec3(1u);
+  vec4 arg_2 = vec4(1.0f);
+  imageStore(arg_0, arg_1, arg_2);
+}
+void main() {
+  textureStore_7b8f86();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:9: 'imageStore' : no matching overloaded function found 
+ERROR: 0:9: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 460
+
+layout(binding = 0, rg32f) uniform highp image3D arg_0;
+void textureStore_7b8f86() {
+  uvec3 arg_1 = uvec3(1u);
+  vec4 arg_2 = vec4(1.0f);
+  imageStore(arg_0, arg_1, arg_2);
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  textureStore_7b8f86();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:7: 'imageStore' : no matching overloaded function found 
+ERROR: 0:7: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 475cf0d..224695c 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,11 +1,43 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, rgba16f) uniform highp writeonly image2D arg_0;
+void textureStore_7cf6e7() {
+  uvec2 arg_1 = uvec2(1u);
+  vec4 arg_2 = vec4(1.0f);
+  imageStore(arg_0, arg_1, arg_2);
+}
+void main() {
+  textureStore_7cf6e7();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:9: 'imageStore' : no matching overloaded function found 
+ERROR: 0:9: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, rgba16f) uniform highp writeonly image2D arg_0;
+void textureStore_7cf6e7() {
+  uvec2 arg_1 = uvec2(1u);
+  vec4 arg_2 = vec4(1.0f);
+  imageStore(arg_0, arg_1, arg_2);
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  textureStore_7cf6e7();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:7: 'imageStore' : no matching overloaded function found 
+ERROR: 0:7: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 475cf0d..bdd74d6 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,11 +1,45 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, rgba8) uniform highp writeonly image1D arg_0;
+void textureStore_7f7fae() {
+  int arg_1 = 1;
+  vec4 arg_2 = vec4(1.0f);
+  imageStore(arg_0, arg_1, arg_2);
+}
+void main() {
+  textureStore_7f7fae();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:5: 'image1D' : Reserved word. 
+WARNING: 0:5: 'layout' : useless application of layout qualifier 
+ERROR: 0:5: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, rgba8) uniform highp writeonly image1D arg_0;
+void textureStore_7f7fae() {
+  int arg_1 = 1;
+  vec4 arg_2 = vec4(1.0f);
+  imageStore(arg_0, arg_1, arg_2);
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  textureStore_7f7fae();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:3: 'image1D' : Reserved word. 
+WARNING: 0:3: 'layout' : useless application of layout qualifier 
+ERROR: 0:3: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 f4b4716..baaa6f9 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,11 +1,43 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 460
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, r8) uniform highp image3D arg_0;
+void textureStore_803a10() {
+  uvec3 arg_1 = uvec3(1u);
+  vec4 arg_2 = vec4(1.0f);
+  imageStore(arg_0, arg_1, arg_2);
+}
+void main() {
+  textureStore_803a10();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:9: 'imageStore' : no matching overloaded function found 
+ERROR: 0:9: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 460
+
+layout(binding = 0, r8) uniform highp image3D arg_0;
+void textureStore_803a10() {
+  uvec3 arg_1 = uvec3(1u);
+  vec4 arg_2 = vec4(1.0f);
+  imageStore(arg_0, arg_1, arg_2);
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  textureStore_803a10();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:7: 'imageStore' : no matching overloaded function found 
+ERROR: 0:7: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 475cf0d..c846198 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,11 +1,45 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, r32ui) uniform highp uimage1D arg_0;
+void textureStore_8676c9() {
+  int arg_1 = 1;
+  uvec4 arg_2 = uvec4(1u);
+  imageStore(arg_0, arg_1, arg_2);
+}
+void main() {
+  textureStore_8676c9();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:5: 'uimage1D' : Reserved word. 
+WARNING: 0:5: 'layout' : useless application of layout qualifier 
+ERROR: 0:5: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, r32ui) uniform highp uimage1D arg_0;
+void textureStore_8676c9() {
+  int arg_1 = 1;
+  uvec4 arg_2 = uvec4(1u);
+  imageStore(arg_0, arg_1, arg_2);
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  textureStore_8676c9();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:3: 'uimage1D' : Reserved word. 
+WARNING: 0:3: 'layout' : useless application of layout qualifier 
+ERROR: 0:3: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 f4b4716..3c6fb4b 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,11 +1,43 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 460
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, rg32ui) uniform highp uimage2D arg_0;
+void textureStore_8a8681() {
+  uvec2 arg_1 = uvec2(1u);
+  uvec4 arg_2 = uvec4(1u);
+  imageStore(arg_0, arg_1, arg_2);
+}
+void main() {
+  textureStore_8a8681();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:9: 'imageStore' : no matching overloaded function found 
+ERROR: 0:9: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 460
+
+layout(binding = 0, rg32ui) uniform highp uimage2D arg_0;
+void textureStore_8a8681() {
+  uvec2 arg_1 = uvec2(1u);
+  uvec4 arg_2 = uvec4(1u);
+  imageStore(arg_0, arg_1, arg_2);
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  textureStore_8a8681();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:7: 'imageStore' : no matching overloaded function found 
+ERROR: 0:7: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 475cf0d..ebbb670 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,11 +1,43 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, rgba16f) uniform highp writeonly image3D arg_0;
+void textureStore_8b9310() {
+  uvec3 arg_1 = uvec3(1u);
+  vec4 arg_2 = vec4(1.0f);
+  imageStore(arg_0, arg_1, arg_2);
+}
+void main() {
+  textureStore_8b9310();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:9: 'imageStore' : no matching overloaded function found 
+ERROR: 0:9: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, rgba16f) uniform highp writeonly image3D arg_0;
+void textureStore_8b9310() {
+  uvec3 arg_1 = uvec3(1u);
+  vec4 arg_2 = vec4(1.0f);
+  imageStore(arg_0, arg_1, arg_2);
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  textureStore_8b9310();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:7: 'imageStore' : no matching overloaded function found 
+ERROR: 0:7: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 475cf0d..8469a11 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,11 +1,49 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, rgba32i) uniform highp writeonly iimage2DArray arg_0;
+void textureStore_8bb287() {
+  uvec2 arg_1 = uvec2(1u);
+  uint arg_2 = 1u;
+  ivec4 arg_3 = ivec4(1);
+  uvec2 v = arg_1;
+  ivec4 v_1 = arg_3;
+  imageStore(arg_0, uvec3(v, uint(arg_2)), v_1);
+}
+void main() {
+  textureStore_8bb287();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:12: 'imageStore' : no matching overloaded function found 
+ERROR: 0:12: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, rgba32i) uniform highp writeonly iimage2DArray arg_0;
+void textureStore_8bb287() {
+  uvec2 arg_1 = uvec2(1u);
+  uint arg_2 = 1u;
+  ivec4 arg_3 = ivec4(1);
+  uvec2 v = arg_1;
+  ivec4 v_1 = arg_3;
+  imageStore(arg_0, uvec3(v, uint(arg_2)), v_1);
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  textureStore_8bb287();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:10: 'imageStore' : no matching overloaded function found 
+ERROR: 0:10: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 475cf0d..69b622e 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,11 +1,45 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, rgba16i) uniform highp writeonly iimage1D arg_0;
+void textureStore_8c76e9() {
+  uint arg_1 = 1u;
+  ivec4 arg_2 = ivec4(1);
+  imageStore(arg_0, arg_1, arg_2);
+}
+void main() {
+  textureStore_8c76e9();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:5: 'iimage1D' : Reserved word. 
+WARNING: 0:5: 'layout' : useless application of layout qualifier 
+ERROR: 0:5: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, rgba16i) uniform highp writeonly iimage1D arg_0;
+void textureStore_8c76e9() {
+  uint arg_1 = 1u;
+  ivec4 arg_2 = ivec4(1);
+  imageStore(arg_0, arg_1, arg_2);
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  textureStore_8c76e9();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:3: 'iimage1D' : Reserved word. 
+WARNING: 0:3: 'layout' : useless application of layout qualifier 
+ERROR: 0:3: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 475cf0d..0a5b93f 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,11 +1,43 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 460
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, r8) uniform highp writeonly image3D arg_0;
+void textureStore_8cd611() {
+  uvec3 arg_1 = uvec3(1u);
+  vec4 arg_2 = vec4(1.0f);
+  imageStore(arg_0, arg_1, arg_2);
+}
+void main() {
+  textureStore_8cd611();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:9: 'imageStore' : no matching overloaded function found 
+ERROR: 0:9: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 460
+
+layout(binding = 0, r8) uniform highp writeonly image3D arg_0;
+void textureStore_8cd611() {
+  uvec3 arg_1 = uvec3(1u);
+  vec4 arg_2 = vec4(1.0f);
+  imageStore(arg_0, arg_1, arg_2);
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  textureStore_8cd611();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:7: 'imageStore' : no matching overloaded function found 
+ERROR: 0:7: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 475cf0d..0290ee5 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,11 +1,43 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, rgba8ui) uniform highp writeonly uimage2D arg_0;
+void textureStore_8dc54f() {
+  uvec2 arg_1 = uvec2(1u);
+  uvec4 arg_2 = uvec4(1u);
+  imageStore(arg_0, arg_1, arg_2);
+}
+void main() {
+  textureStore_8dc54f();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:9: 'imageStore' : no matching overloaded function found 
+ERROR: 0:9: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, rgba8ui) uniform highp writeonly uimage2D arg_0;
+void textureStore_8dc54f() {
+  uvec2 arg_1 = uvec2(1u);
+  uvec4 arg_2 = uvec4(1u);
+  imageStore(arg_0, arg_1, arg_2);
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  textureStore_8dc54f();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:7: 'imageStore' : no matching overloaded function found 
+ERROR: 0:7: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 475cf0d..8fe01e2 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,11 +1,43 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, rgba8) uniform highp writeonly image3D arg_0;
+void textureStore_8ed9f8() {
+  uvec3 arg_1 = uvec3(1u);
+  vec4 arg_2 = vec4(1.0f);
+  imageStore(arg_0, arg_1, arg_2);
+}
+void main() {
+  textureStore_8ed9f8();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:9: 'imageStore' : no matching overloaded function found 
+ERROR: 0:9: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, rgba8) uniform highp writeonly image3D arg_0;
+void textureStore_8ed9f8() {
+  uvec3 arg_1 = uvec3(1u);
+  vec4 arg_2 = vec4(1.0f);
+  imageStore(arg_0, arg_1, arg_2);
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  textureStore_8ed9f8();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:7: 'imageStore' : no matching overloaded function found 
+ERROR: 0:7: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 475cf0d..7e2f6a8 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,11 +1,45 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, rgba8i) uniform highp writeonly iimage1D arg_0;
+void textureStore_958353() {
+  uint arg_1 = 1u;
+  ivec4 arg_2 = ivec4(1);
+  imageStore(arg_0, arg_1, arg_2);
+}
+void main() {
+  textureStore_958353();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:5: 'iimage1D' : Reserved word. 
+WARNING: 0:5: 'layout' : useless application of layout qualifier 
+ERROR: 0:5: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, rgba8i) uniform highp writeonly iimage1D arg_0;
+void textureStore_958353() {
+  uint arg_1 = 1u;
+  ivec4 arg_2 = ivec4(1);
+  imageStore(arg_0, arg_1, arg_2);
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  textureStore_958353();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:3: 'iimage1D' : Reserved word. 
+WARNING: 0:3: 'layout' : useless application of layout qualifier 
+ERROR: 0:3: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 475cf0d..c1951bf 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,11 +1,45 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, rgba8_snorm) uniform highp writeonly image1D arg_0;
+void textureStore_959d94() {
+  uint arg_1 = 1u;
+  vec4 arg_2 = vec4(1.0f);
+  imageStore(arg_0, arg_1, arg_2);
+}
+void main() {
+  textureStore_959d94();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:5: 'image1D' : Reserved word. 
+WARNING: 0:5: 'layout' : useless application of layout qualifier 
+ERROR: 0:5: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, rgba8_snorm) uniform highp writeonly image1D arg_0;
+void textureStore_959d94() {
+  uint arg_1 = 1u;
+  vec4 arg_2 = vec4(1.0f);
+  imageStore(arg_0, arg_1, arg_2);
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  textureStore_959d94();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:3: 'image1D' : Reserved word. 
+WARNING: 0:3: 'layout' : useless application of layout qualifier 
+ERROR: 0:3: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 475cf0d..3c92779 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,11 +1,43 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, r32i) uniform highp writeonly iimage2D arg_0;
+void textureStore_95e452() {
+  uvec2 arg_1 = uvec2(1u);
+  ivec4 arg_2 = ivec4(1);
+  imageStore(arg_0, arg_1, arg_2);
+}
+void main() {
+  textureStore_95e452();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:9: 'imageStore' : no matching overloaded function found 
+ERROR: 0:9: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, r32i) uniform highp writeonly iimage2D arg_0;
+void textureStore_95e452() {
+  uvec2 arg_1 = uvec2(1u);
+  ivec4 arg_2 = ivec4(1);
+  imageStore(arg_0, arg_1, arg_2);
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  textureStore_95e452();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:7: 'imageStore' : no matching overloaded function found 
+ERROR: 0:7: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 475cf0d..98c6be4 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,11 +1,45 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, rgba32i) uniform highp writeonly iimage1D arg_0;
+void textureStore_969534() {
+  int arg_1 = 1;
+  ivec4 arg_2 = ivec4(1);
+  imageStore(arg_0, arg_1, arg_2);
+}
+void main() {
+  textureStore_969534();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:5: 'iimage1D' : Reserved word. 
+WARNING: 0:5: 'layout' : useless application of layout qualifier 
+ERROR: 0:5: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, rgba32i) uniform highp writeonly iimage1D arg_0;
+void textureStore_969534() {
+  int arg_1 = 1;
+  ivec4 arg_2 = ivec4(1);
+  imageStore(arg_0, arg_1, arg_2);
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  textureStore_969534();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:3: 'iimage1D' : Reserved word. 
+WARNING: 0:3: 'layout' : useless application of layout qualifier 
+ERROR: 0:3: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 3910173..976a93f 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,11 +1,43 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:994 internal compiler error: bgra8unorm should have been polyfilled to rgba8unorm
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, rgba8) uniform highp writeonly image3D arg_0;
+void textureStore_9aedd3() {
+  uvec3 arg_1 = uvec3(1u);
+  vec4 arg_2 = vec4(1.0f);
+  imageStore(arg_0, arg_1, arg_2.zyxw);
+}
+void main() {
+  textureStore_9aedd3();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:9: 'imageStore' : no matching overloaded function found 
+ERROR: 0:9: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, rgba8) uniform highp writeonly image3D arg_0;
+void textureStore_9aedd3() {
+  uvec3 arg_1 = uvec3(1u);
+  vec4 arg_2 = vec4(1.0f);
+  imageStore(arg_0, arg_1, arg_2.zyxw);
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  textureStore_9aedd3();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:7: 'imageStore' : no matching overloaded function found 
+ERROR: 0:7: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 475cf0d..d69a5ed 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,11 +1,43 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 460
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, r8) uniform highp writeonly image2D arg_0;
+void textureStore_9e5bc2() {
+  uvec2 arg_1 = uvec2(1u);
+  vec4 arg_2 = vec4(1.0f);
+  imageStore(arg_0, arg_1, arg_2);
+}
+void main() {
+  textureStore_9e5bc2();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:9: 'imageStore' : no matching overloaded function found 
+ERROR: 0:9: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 460
+
+layout(binding = 0, r8) uniform highp writeonly image2D arg_0;
+void textureStore_9e5bc2() {
+  uvec2 arg_1 = uvec2(1u);
+  vec4 arg_2 = vec4(1.0f);
+  imageStore(arg_0, arg_1, arg_2);
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  textureStore_9e5bc2();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:7: 'imageStore' : no matching overloaded function found 
+ERROR: 0:7: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 475cf0d..4557cad 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,11 +1,43 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 460
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, rg32i) uniform highp writeonly iimage2D arg_0;
+void textureStore_9f5318() {
+  uvec2 arg_1 = uvec2(1u);
+  ivec4 arg_2 = ivec4(1);
+  imageStore(arg_0, arg_1, arg_2);
+}
+void main() {
+  textureStore_9f5318();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:9: 'imageStore' : no matching overloaded function found 
+ERROR: 0:9: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 460
+
+layout(binding = 0, rg32i) uniform highp writeonly iimage2D arg_0;
+void textureStore_9f5318() {
+  uvec2 arg_1 = uvec2(1u);
+  ivec4 arg_2 = ivec4(1);
+  imageStore(arg_0, arg_1, arg_2);
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  textureStore_9f5318();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:7: 'imageStore' : no matching overloaded function found 
+ERROR: 0:7: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 475cf0d..204dc88 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,11 +1,49 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, rgba16f) uniform highp writeonly image2DArray arg_0;
+void textureStore_a0f96e() {
+  uvec2 arg_1 = uvec2(1u);
+  uint arg_2 = 1u;
+  vec4 arg_3 = vec4(1.0f);
+  uvec2 v = arg_1;
+  vec4 v_1 = arg_3;
+  imageStore(arg_0, uvec3(v, uint(arg_2)), v_1);
+}
+void main() {
+  textureStore_a0f96e();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:12: 'imageStore' : no matching overloaded function found 
+ERROR: 0:12: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, rgba16f) uniform highp writeonly image2DArray arg_0;
+void textureStore_a0f96e() {
+  uvec2 arg_1 = uvec2(1u);
+  uint arg_2 = 1u;
+  vec4 arg_3 = vec4(1.0f);
+  uvec2 v = arg_1;
+  vec4 v_1 = arg_3;
+  imageStore(arg_0, uvec3(v, uint(arg_2)), v_1);
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  textureStore_a0f96e();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:10: 'imageStore' : no matching overloaded function found 
+ERROR: 0:10: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 475cf0d..b94e523 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,11 +1,49 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, rgba8i) uniform highp writeonly iimage2DArray arg_0;
+void textureStore_a1352c() {
+  uvec2 arg_1 = uvec2(1u);
+  uint arg_2 = 1u;
+  ivec4 arg_3 = ivec4(1);
+  uvec2 v = arg_1;
+  ivec4 v_1 = arg_3;
+  imageStore(arg_0, uvec3(v, uint(arg_2)), v_1);
+}
+void main() {
+  textureStore_a1352c();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:12: 'imageStore' : no matching overloaded function found 
+ERROR: 0:12: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, rgba8i) uniform highp writeonly iimage2DArray arg_0;
+void textureStore_a1352c() {
+  uvec2 arg_1 = uvec2(1u);
+  uint arg_2 = 1u;
+  ivec4 arg_3 = ivec4(1);
+  uvec2 v = arg_1;
+  ivec4 v_1 = arg_3;
+  imageStore(arg_0, uvec3(v, uint(arg_2)), v_1);
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  textureStore_a1352c();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:10: 'imageStore' : no matching overloaded function found 
+ERROR: 0:10: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 3910173..33dd13a 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,11 +1,43 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:994 internal compiler error: bgra8unorm should have been polyfilled to rgba8unorm
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, rgba8) uniform highp writeonly image2D arg_0;
+void textureStore_a165b8() {
+  uvec2 arg_1 = uvec2(1u);
+  vec4 arg_2 = vec4(1.0f);
+  imageStore(arg_0, arg_1, arg_2.zyxw);
+}
+void main() {
+  textureStore_a165b8();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:9: 'imageStore' : no matching overloaded function found 
+ERROR: 0:9: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, rgba8) uniform highp writeonly image2D arg_0;
+void textureStore_a165b8() {
+  uvec2 arg_1 = uvec2(1u);
+  vec4 arg_2 = vec4(1.0f);
+  imageStore(arg_0, arg_1, arg_2.zyxw);
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  textureStore_a165b8();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:7: 'imageStore' : no matching overloaded function found 
+ERROR: 0:7: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 475cf0d..b1c1b8b 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,11 +1,45 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, rgba16f) uniform highp writeonly image1D arg_0;
+void textureStore_a4c338() {
+  uint arg_1 = 1u;
+  vec4 arg_2 = vec4(1.0f);
+  imageStore(arg_0, arg_1, arg_2);
+}
+void main() {
+  textureStore_a4c338();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:5: 'image1D' : Reserved word. 
+WARNING: 0:5: 'layout' : useless application of layout qualifier 
+ERROR: 0:5: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, rgba16f) uniform highp writeonly image1D arg_0;
+void textureStore_a4c338() {
+  uint arg_1 = 1u;
+  vec4 arg_2 = vec4(1.0f);
+  imageStore(arg_0, arg_1, arg_2);
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  textureStore_a4c338();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:3: 'image1D' : Reserved word. 
+WARNING: 0:3: 'layout' : useless application of layout qualifier 
+ERROR: 0:3: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 475cf0d..674dbf4 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,11 +1,43 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, rgba32f) uniform highp writeonly image3D arg_0;
+void textureStore_a5e80d() {
+  uvec3 arg_1 = uvec3(1u);
+  vec4 arg_2 = vec4(1.0f);
+  imageStore(arg_0, arg_1, arg_2);
+}
+void main() {
+  textureStore_a5e80d();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:9: 'imageStore' : no matching overloaded function found 
+ERROR: 0:9: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, rgba32f) uniform highp writeonly image3D arg_0;
+void textureStore_a5e80d() {
+  uvec3 arg_1 = uvec3(1u);
+  vec4 arg_2 = vec4(1.0f);
+  imageStore(arg_0, arg_1, arg_2);
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  textureStore_a5e80d();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:7: 'imageStore' : no matching overloaded function found 
+ERROR: 0:7: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 023772f..6338d00 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:994 internal compiler error: bgra8unorm should have been polyfilled to rgba8unorm
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 475cf0d..59ce347 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,11 +1,49 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, rgba16f) uniform highp writeonly image2DArray arg_0;
+void textureStore_a6a986() {
+  uvec2 arg_1 = uvec2(1u);
+  int arg_2 = 1;
+  vec4 arg_3 = vec4(1.0f);
+  uvec2 v = arg_1;
+  vec4 v_1 = arg_3;
+  imageStore(arg_0, uvec3(v, uint(arg_2)), v_1);
+}
+void main() {
+  textureStore_a6a986();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:12: 'imageStore' : no matching overloaded function found 
+ERROR: 0:12: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, rgba16f) uniform highp writeonly image2DArray arg_0;
+void textureStore_a6a986() {
+  uvec2 arg_1 = uvec2(1u);
+  int arg_2 = 1;
+  vec4 arg_3 = vec4(1.0f);
+  uvec2 v = arg_1;
+  vec4 v_1 = arg_3;
+  imageStore(arg_0, uvec3(v, uint(arg_2)), v_1);
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  textureStore_a6a986();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:10: 'imageStore' : no matching overloaded function found 
+ERROR: 0:10: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 475cf0d..3653c3d 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,11 +1,45 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, r32ui) uniform highp writeonly uimage1D arg_0;
+void textureStore_a6e78f() {
+  uint arg_1 = 1u;
+  uvec4 arg_2 = uvec4(1u);
+  imageStore(arg_0, arg_1, arg_2);
+}
+void main() {
+  textureStore_a6e78f();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:5: 'uimage1D' : Reserved word. 
+WARNING: 0:5: 'layout' : useless application of layout qualifier 
+ERROR: 0:5: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, r32ui) uniform highp writeonly uimage1D arg_0;
+void textureStore_a6e78f() {
+  uint arg_1 = 1u;
+  uvec4 arg_2 = uvec4(1u);
+  imageStore(arg_0, arg_1, arg_2);
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  textureStore_a6e78f();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:3: 'uimage1D' : Reserved word. 
+WARNING: 0:3: 'layout' : useless application of layout qualifier 
+ERROR: 0:3: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 f4b4716..3ae8541 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,11 +1,43 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 460
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, r8) uniform highp image1D arg_0;
+void textureStore_a7fc47() {
+  uint arg_1 = 1u;
+  vec4 arg_2 = vec4(1.0f);
+  imageStore(arg_0, arg_1, arg_2);
+}
+void main() {
+  textureStore_a7fc47();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:9: 'imageStore' : no matching overloaded function found 
+ERROR: 0:9: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 460
+
+layout(binding = 0, r8) uniform highp image1D arg_0;
+void textureStore_a7fc47() {
+  uint arg_1 = 1u;
+  vec4 arg_2 = vec4(1.0f);
+  imageStore(arg_0, arg_1, arg_2);
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  textureStore_a7fc47();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:7: 'imageStore' : no matching overloaded function found 
+ERROR: 0:7: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 f4b4716..6b17024 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,11 +1,43 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 460
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, rg32ui) uniform highp uimage1D arg_0;
+void textureStore_a9298c() {
+  uint arg_1 = 1u;
+  uvec4 arg_2 = uvec4(1u);
+  imageStore(arg_0, arg_1, arg_2);
+}
+void main() {
+  textureStore_a9298c();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:9: 'imageStore' : no matching overloaded function found 
+ERROR: 0:9: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 460
+
+layout(binding = 0, rg32ui) uniform highp uimage1D arg_0;
+void textureStore_a9298c() {
+  uint arg_1 = 1u;
+  uvec4 arg_2 = uvec4(1u);
+  imageStore(arg_0, arg_1, arg_2);
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  textureStore_a9298c();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:7: 'imageStore' : no matching overloaded function found 
+ERROR: 0:7: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 475cf0d..5cb704b 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,11 +1,49 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, rgba32ui) uniform highp writeonly uimage2DArray arg_0;
+void textureStore_a9426c() {
+  uvec2 arg_1 = uvec2(1u);
+  uint arg_2 = 1u;
+  uvec4 arg_3 = uvec4(1u);
+  uvec2 v = arg_1;
+  uvec4 v_1 = arg_3;
+  imageStore(arg_0, uvec3(v, uint(arg_2)), v_1);
+}
+void main() {
+  textureStore_a9426c();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:12: 'imageStore' : no matching overloaded function found 
+ERROR: 0:12: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, rgba32ui) uniform highp writeonly uimage2DArray arg_0;
+void textureStore_a9426c() {
+  uvec2 arg_1 = uvec2(1u);
+  uint arg_2 = 1u;
+  uvec4 arg_3 = uvec4(1u);
+  uvec2 v = arg_1;
+  uvec4 v_1 = arg_3;
+  imageStore(arg_0, uvec3(v, uint(arg_2)), v_1);
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  textureStore_a9426c();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:10: 'imageStore' : no matching overloaded function found 
+ERROR: 0:10: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 475cf0d..f8305ea 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,11 +1,49 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, r32ui) uniform highp uimage2DArray arg_0;
+void textureStore_abdd21() {
+  uvec2 arg_1 = uvec2(1u);
+  uint arg_2 = 1u;
+  uvec4 arg_3 = uvec4(1u);
+  uvec2 v = arg_1;
+  uvec4 v_1 = arg_3;
+  imageStore(arg_0, uvec3(v, uint(arg_2)), v_1);
+}
+void main() {
+  textureStore_abdd21();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:12: 'imageStore' : no matching overloaded function found 
+ERROR: 0:12: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, r32ui) uniform highp uimage2DArray arg_0;
+void textureStore_abdd21() {
+  uvec2 arg_1 = uvec2(1u);
+  uint arg_2 = 1u;
+  uvec4 arg_3 = uvec4(1u);
+  uvec2 v = arg_1;
+  uvec4 v_1 = arg_3;
+  imageStore(arg_0, uvec3(v, uint(arg_2)), v_1);
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  textureStore_abdd21();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:10: 'imageStore' : no matching overloaded function found 
+ERROR: 0:10: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 f4b4716..daa7817 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,11 +1,49 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 460
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, r8) uniform highp image2DArray arg_0;
+void textureStore_ae6a2a() {
+  uvec2 arg_1 = uvec2(1u);
+  uint arg_2 = 1u;
+  vec4 arg_3 = vec4(1.0f);
+  uvec2 v = arg_1;
+  vec4 v_1 = arg_3;
+  imageStore(arg_0, uvec3(v, uint(arg_2)), v_1);
+}
+void main() {
+  textureStore_ae6a2a();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:12: 'imageStore' : no matching overloaded function found 
+ERROR: 0:12: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 460
+
+layout(binding = 0, r8) uniform highp image2DArray arg_0;
+void textureStore_ae6a2a() {
+  uvec2 arg_1 = uvec2(1u);
+  uint arg_2 = 1u;
+  vec4 arg_3 = vec4(1.0f);
+  uvec2 v = arg_1;
+  vec4 v_1 = arg_3;
+  imageStore(arg_0, uvec3(v, uint(arg_2)), v_1);
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  textureStore_ae6a2a();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:10: 'imageStore' : no matching overloaded function found 
+ERROR: 0:10: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 475cf0d..31860d2 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,11 +1,43 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, rgba32ui) uniform highp writeonly uimage2D arg_0;
+void textureStore_aeb38a() {
+  uvec2 arg_1 = uvec2(1u);
+  uvec4 arg_2 = uvec4(1u);
+  imageStore(arg_0, arg_1, arg_2);
+}
+void main() {
+  textureStore_aeb38a();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:9: 'imageStore' : no matching overloaded function found 
+ERROR: 0:9: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, rgba32ui) uniform highp writeonly uimage2D arg_0;
+void textureStore_aeb38a() {
+  uvec2 arg_1 = uvec2(1u);
+  uvec4 arg_2 = uvec4(1u);
+  imageStore(arg_0, arg_1, arg_2);
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  textureStore_aeb38a();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:7: 'imageStore' : no matching overloaded function found 
+ERROR: 0:7: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 475cf0d..e6b9734 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,11 +1,49 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, rgba8ui) uniform highp writeonly uimage2DArray arg_0;
+void textureStore_b42fd3() {
+  uvec2 arg_1 = uvec2(1u);
+  uint arg_2 = 1u;
+  uvec4 arg_3 = uvec4(1u);
+  uvec2 v = arg_1;
+  uvec4 v_1 = arg_3;
+  imageStore(arg_0, uvec3(v, uint(arg_2)), v_1);
+}
+void main() {
+  textureStore_b42fd3();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:12: 'imageStore' : no matching overloaded function found 
+ERROR: 0:12: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, rgba8ui) uniform highp writeonly uimage2DArray arg_0;
+void textureStore_b42fd3() {
+  uvec2 arg_1 = uvec2(1u);
+  uint arg_2 = 1u;
+  uvec4 arg_3 = uvec4(1u);
+  uvec2 v = arg_1;
+  uvec4 v_1 = arg_3;
+  imageStore(arg_0, uvec3(v, uint(arg_2)), v_1);
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  textureStore_b42fd3();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:10: 'imageStore' : no matching overloaded function found 
+ERROR: 0:10: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 023772f..6338d00 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:994 internal compiler error: bgra8unorm should have been polyfilled to rgba8unorm
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 475cf0d..fa0aac3 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,11 +1,45 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, rgba16ui) uniform highp writeonly uimage1D arg_0;
+void textureStore_b70ded() {
+  uint arg_1 = 1u;
+  uvec4 arg_2 = uvec4(1u);
+  imageStore(arg_0, arg_1, arg_2);
+}
+void main() {
+  textureStore_b70ded();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:5: 'uimage1D' : Reserved word. 
+WARNING: 0:5: 'layout' : useless application of layout qualifier 
+ERROR: 0:5: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, rgba16ui) uniform highp writeonly uimage1D arg_0;
+void textureStore_b70ded() {
+  uint arg_1 = 1u;
+  uvec4 arg_2 = uvec4(1u);
+  imageStore(arg_0, arg_1, arg_2);
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  textureStore_b70ded();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:3: 'uimage1D' : Reserved word. 
+WARNING: 0:3: 'layout' : useless application of layout qualifier 
+ERROR: 0:3: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 f4b4716..97fdf11 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,11 +1,49 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 460
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, rg32f) uniform highp image2DArray arg_0;
+void textureStore_b71c13() {
+  uvec2 arg_1 = uvec2(1u);
+  int arg_2 = 1;
+  vec4 arg_3 = vec4(1.0f);
+  uvec2 v = arg_1;
+  vec4 v_1 = arg_3;
+  imageStore(arg_0, uvec3(v, uint(arg_2)), v_1);
+}
+void main() {
+  textureStore_b71c13();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:12: 'imageStore' : no matching overloaded function found 
+ERROR: 0:12: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 460
+
+layout(binding = 0, rg32f) uniform highp image2DArray arg_0;
+void textureStore_b71c13() {
+  uvec2 arg_1 = uvec2(1u);
+  int arg_2 = 1;
+  vec4 arg_3 = vec4(1.0f);
+  uvec2 v = arg_1;
+  vec4 v_1 = arg_3;
+  imageStore(arg_0, uvec3(v, uint(arg_2)), v_1);
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  textureStore_b71c13();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:10: 'imageStore' : no matching overloaded function found 
+ERROR: 0:10: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 475cf0d..ab8e2a7 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,11 +1,45 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, r32f) uniform highp image1D arg_0;
+void textureStore_b7232c() {
+  uint arg_1 = 1u;
+  vec4 arg_2 = vec4(1.0f);
+  imageStore(arg_0, arg_1, arg_2);
+}
+void main() {
+  textureStore_b7232c();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:5: 'image1D' : Reserved word. 
+WARNING: 0:5: 'layout' : useless application of layout qualifier 
+ERROR: 0:5: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, r32f) uniform highp image1D arg_0;
+void textureStore_b7232c() {
+  uint arg_1 = 1u;
+  vec4 arg_2 = vec4(1.0f);
+  imageStore(arg_0, arg_1, arg_2);
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  textureStore_b7232c();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:3: 'image1D' : Reserved word. 
+WARNING: 0:3: 'layout' : useless application of layout qualifier 
+ERROR: 0:3: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 475cf0d..a77a393 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,11 +1,43 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, rgba16i) uniform highp writeonly iimage2D arg_0;
+void textureStore_b76ff3() {
+  uvec2 arg_1 = uvec2(1u);
+  ivec4 arg_2 = ivec4(1);
+  imageStore(arg_0, arg_1, arg_2);
+}
+void main() {
+  textureStore_b76ff3();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:9: 'imageStore' : no matching overloaded function found 
+ERROR: 0:9: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, rgba16i) uniform highp writeonly iimage2D arg_0;
+void textureStore_b76ff3() {
+  uvec2 arg_1 = uvec2(1u);
+  ivec4 arg_2 = ivec4(1);
+  imageStore(arg_0, arg_1, arg_2);
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  textureStore_b76ff3();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:7: 'imageStore' : no matching overloaded function found 
+ERROR: 0:7: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 475cf0d..a74177d 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,11 +1,43 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 460
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, rg32ui) uniform highp writeonly uimage1D arg_0;
+void textureStore_b77161() {
+  uint arg_1 = 1u;
+  uvec4 arg_2 = uvec4(1u);
+  imageStore(arg_0, arg_1, arg_2);
+}
+void main() {
+  textureStore_b77161();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:9: 'imageStore' : no matching overloaded function found 
+ERROR: 0:9: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 460
+
+layout(binding = 0, rg32ui) uniform highp writeonly uimage1D arg_0;
+void textureStore_b77161() {
+  uint arg_1 = 1u;
+  uvec4 arg_2 = uvec4(1u);
+  imageStore(arg_0, arg_1, arg_2);
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  textureStore_b77161();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:7: 'imageStore' : no matching overloaded function found 
+ERROR: 0:7: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 023772f..6338d00 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:994 internal compiler error: bgra8unorm should have been polyfilled to rgba8unorm
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 475cf0d..1921a39 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,11 +1,49 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 460
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, r8) uniform highp writeonly image2DArray arg_0;
+void textureStore_b91b86() {
+  uvec2 arg_1 = uvec2(1u);
+  int arg_2 = 1;
+  vec4 arg_3 = vec4(1.0f);
+  uvec2 v = arg_1;
+  vec4 v_1 = arg_3;
+  imageStore(arg_0, uvec3(v, uint(arg_2)), v_1);
+}
+void main() {
+  textureStore_b91b86();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:12: 'imageStore' : no matching overloaded function found 
+ERROR: 0:12: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 460
+
+layout(binding = 0, r8) uniform highp writeonly image2DArray arg_0;
+void textureStore_b91b86() {
+  uvec2 arg_1 = uvec2(1u);
+  int arg_2 = 1;
+  vec4 arg_3 = vec4(1.0f);
+  uvec2 v = arg_1;
+  vec4 v_1 = arg_3;
+  imageStore(arg_0, uvec3(v, uint(arg_2)), v_1);
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  textureStore_b91b86();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:10: 'imageStore' : no matching overloaded function found 
+ERROR: 0:10: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 f4b4716..1e0740a 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,11 +1,49 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 460
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, rg32ui) uniform highp uimage2DArray arg_0;
+void textureStore_bd6602() {
+  uvec2 arg_1 = uvec2(1u);
+  int arg_2 = 1;
+  uvec4 arg_3 = uvec4(1u);
+  uvec2 v = arg_1;
+  uvec4 v_1 = arg_3;
+  imageStore(arg_0, uvec3(v, uint(arg_2)), v_1);
+}
+void main() {
+  textureStore_bd6602();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:12: 'imageStore' : no matching overloaded function found 
+ERROR: 0:12: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 460
+
+layout(binding = 0, rg32ui) uniform highp uimage2DArray arg_0;
+void textureStore_bd6602() {
+  uvec2 arg_1 = uvec2(1u);
+  int arg_2 = 1;
+  uvec4 arg_3 = uvec4(1u);
+  uvec2 v = arg_1;
+  uvec4 v_1 = arg_3;
+  imageStore(arg_0, uvec3(v, uint(arg_2)), v_1);
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  textureStore_bd6602();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:10: 'imageStore' : no matching overloaded function found 
+ERROR: 0:10: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 475cf0d..df02c52 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,11 +1,45 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, rgba8i) uniform highp writeonly iimage1D arg_0;
+void textureStore_bf775c() {
+  int arg_1 = 1;
+  ivec4 arg_2 = ivec4(1);
+  imageStore(arg_0, arg_1, arg_2);
+}
+void main() {
+  textureStore_bf775c();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:5: 'iimage1D' : Reserved word. 
+WARNING: 0:5: 'layout' : useless application of layout qualifier 
+ERROR: 0:5: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, rgba8i) uniform highp writeonly iimage1D arg_0;
+void textureStore_bf775c() {
+  int arg_1 = 1;
+  ivec4 arg_2 = ivec4(1);
+  imageStore(arg_0, arg_1, arg_2);
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  textureStore_bf775c();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:3: 'iimage1D' : Reserved word. 
+WARNING: 0:3: 'layout' : useless application of layout qualifier 
+ERROR: 0:3: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 023772f..6338d00 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:994 internal compiler error: bgra8unorm should have been polyfilled to rgba8unorm
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 475cf0d..e46d81a 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,11 +1,45 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, r32f) uniform highp writeonly image1D arg_0;
+void textureStore_c1f29e() {
+  uint arg_1 = 1u;
+  vec4 arg_2 = vec4(1.0f);
+  imageStore(arg_0, arg_1, arg_2);
+}
+void main() {
+  textureStore_c1f29e();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:5: 'image1D' : Reserved word. 
+WARNING: 0:5: 'layout' : useless application of layout qualifier 
+ERROR: 0:5: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, r32f) uniform highp writeonly image1D arg_0;
+void textureStore_c1f29e() {
+  uint arg_1 = 1u;
+  vec4 arg_2 = vec4(1.0f);
+  imageStore(arg_0, arg_1, arg_2);
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  textureStore_c1f29e();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:3: 'image1D' : Reserved word. 
+WARNING: 0:3: 'layout' : useless application of layout qualifier 
+ERROR: 0:3: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 475cf0d..2c1bb25 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,11 +1,49 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, rgba16i) uniform highp writeonly iimage2DArray arg_0;
+void textureStore_c2ca46() {
+  uvec2 arg_1 = uvec2(1u);
+  uint arg_2 = 1u;
+  ivec4 arg_3 = ivec4(1);
+  uvec2 v = arg_1;
+  ivec4 v_1 = arg_3;
+  imageStore(arg_0, uvec3(v, uint(arg_2)), v_1);
+}
+void main() {
+  textureStore_c2ca46();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:12: 'imageStore' : no matching overloaded function found 
+ERROR: 0:12: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, rgba16i) uniform highp writeonly iimage2DArray arg_0;
+void textureStore_c2ca46() {
+  uvec2 arg_1 = uvec2(1u);
+  uint arg_2 = 1u;
+  ivec4 arg_3 = ivec4(1);
+  uvec2 v = arg_1;
+  ivec4 v_1 = arg_3;
+  imageStore(arg_0, uvec3(v, uint(arg_2)), v_1);
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  textureStore_c2ca46();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:10: 'imageStore' : no matching overloaded function found 
+ERROR: 0:10: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 475cf0d..9dc3076 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,11 +1,49 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, rgba8i) uniform highp writeonly iimage2DArray arg_0;
+void textureStore_c32905() {
+  uvec2 arg_1 = uvec2(1u);
+  int arg_2 = 1;
+  ivec4 arg_3 = ivec4(1);
+  uvec2 v = arg_1;
+  ivec4 v_1 = arg_3;
+  imageStore(arg_0, uvec3(v, uint(arg_2)), v_1);
+}
+void main() {
+  textureStore_c32905();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:12: 'imageStore' : no matching overloaded function found 
+ERROR: 0:12: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, rgba8i) uniform highp writeonly iimage2DArray arg_0;
+void textureStore_c32905() {
+  uvec2 arg_1 = uvec2(1u);
+  int arg_2 = 1;
+  ivec4 arg_3 = ivec4(1);
+  uvec2 v = arg_1;
+  ivec4 v_1 = arg_3;
+  imageStore(arg_0, uvec3(v, uint(arg_2)), v_1);
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  textureStore_c32905();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:10: 'imageStore' : no matching overloaded function found 
+ERROR: 0:10: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 475cf0d..294c649 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,11 +1,49 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, r32ui) uniform highp uimage2DArray arg_0;
+void textureStore_c35268() {
+  uvec2 arg_1 = uvec2(1u);
+  int arg_2 = 1;
+  uvec4 arg_3 = uvec4(1u);
+  uvec2 v = arg_1;
+  uvec4 v_1 = arg_3;
+  imageStore(arg_0, uvec3(v, uint(arg_2)), v_1);
+}
+void main() {
+  textureStore_c35268();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:12: 'imageStore' : no matching overloaded function found 
+ERROR: 0:12: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, r32ui) uniform highp uimage2DArray arg_0;
+void textureStore_c35268() {
+  uvec2 arg_1 = uvec2(1u);
+  int arg_2 = 1;
+  uvec4 arg_3 = uvec4(1u);
+  uvec2 v = arg_1;
+  uvec4 v_1 = arg_3;
+  imageStore(arg_0, uvec3(v, uint(arg_2)), v_1);
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  textureStore_c35268();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:10: 'imageStore' : no matching overloaded function found 
+ERROR: 0:10: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 3910173..5f948bf 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,11 +1,45 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:994 internal compiler error: bgra8unorm should have been polyfilled to rgba8unorm
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, rgba8) uniform highp writeonly image1D arg_0;
+void textureStore_c9d780() {
+  uint arg_1 = 1u;
+  vec4 arg_2 = vec4(1.0f);
+  imageStore(arg_0, arg_1, arg_2.zyxw);
+}
+void main() {
+  textureStore_c9d780();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:5: 'image1D' : Reserved word. 
+WARNING: 0:5: 'layout' : useless application of layout qualifier 
+ERROR: 0:5: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, rgba8) uniform highp writeonly image1D arg_0;
+void textureStore_c9d780() {
+  uint arg_1 = 1u;
+  vec4 arg_2 = vec4(1.0f);
+  imageStore(arg_0, arg_1, arg_2.zyxw);
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  textureStore_c9d780();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:3: 'image1D' : Reserved word. 
+WARNING: 0:3: 'layout' : useless application of layout qualifier 
+ERROR: 0:3: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 475cf0d..be1b90d 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,11 +1,43 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, rgba8i) uniform highp writeonly iimage3D arg_0;
+void textureStore_cb3b0b() {
+  uvec3 arg_1 = uvec3(1u);
+  ivec4 arg_2 = ivec4(1);
+  imageStore(arg_0, arg_1, arg_2);
+}
+void main() {
+  textureStore_cb3b0b();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:9: 'imageStore' : no matching overloaded function found 
+ERROR: 0:9: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, rgba8i) uniform highp writeonly iimage3D arg_0;
+void textureStore_cb3b0b() {
+  uvec3 arg_1 = uvec3(1u);
+  ivec4 arg_2 = ivec4(1);
+  imageStore(arg_0, arg_1, arg_2);
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  textureStore_cb3b0b();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:7: 'imageStore' : no matching overloaded function found 
+ERROR: 0:7: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 475cf0d..c1762fd 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,11 +1,43 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, r32ui) uniform highp writeonly uimage3D arg_0;
+void textureStore_cd6755() {
+  uvec3 arg_1 = uvec3(1u);
+  uvec4 arg_2 = uvec4(1u);
+  imageStore(arg_0, arg_1, arg_2);
+}
+void main() {
+  textureStore_cd6755();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:9: 'imageStore' : no matching overloaded function found 
+ERROR: 0:9: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, r32ui) uniform highp writeonly uimage3D arg_0;
+void textureStore_cd6755() {
+  uvec3 arg_1 = uvec3(1u);
+  uvec4 arg_2 = uvec4(1u);
+  imageStore(arg_0, arg_1, arg_2);
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  textureStore_cd6755();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:7: 'imageStore' : no matching overloaded function found 
+ERROR: 0:7: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 475cf0d..66b6dd8 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,11 +1,49 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, r32i) uniform highp iimage2DArray arg_0;
+void textureStore_ceb832() {
+  uvec2 arg_1 = uvec2(1u);
+  uint arg_2 = 1u;
+  ivec4 arg_3 = ivec4(1);
+  uvec2 v = arg_1;
+  ivec4 v_1 = arg_3;
+  imageStore(arg_0, uvec3(v, uint(arg_2)), v_1);
+}
+void main() {
+  textureStore_ceb832();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:12: 'imageStore' : no matching overloaded function found 
+ERROR: 0:12: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, r32i) uniform highp iimage2DArray arg_0;
+void textureStore_ceb832() {
+  uvec2 arg_1 = uvec2(1u);
+  uint arg_2 = 1u;
+  ivec4 arg_3 = ivec4(1);
+  uvec2 v = arg_1;
+  ivec4 v_1 = arg_3;
+  imageStore(arg_0, uvec3(v, uint(arg_2)), v_1);
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  textureStore_ceb832();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:10: 'imageStore' : no matching overloaded function found 
+ERROR: 0:10: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 475cf0d..d57b998 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,11 +1,45 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, rgba32ui) uniform highp writeonly uimage1D arg_0;
+void textureStore_d26166() {
+  uint arg_1 = 1u;
+  uvec4 arg_2 = uvec4(1u);
+  imageStore(arg_0, arg_1, arg_2);
+}
+void main() {
+  textureStore_d26166();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:5: 'uimage1D' : Reserved word. 
+WARNING: 0:5: 'layout' : useless application of layout qualifier 
+ERROR: 0:5: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, rgba32ui) uniform highp writeonly uimage1D arg_0;
+void textureStore_d26166() {
+  uint arg_1 = 1u;
+  uvec4 arg_2 = uvec4(1u);
+  imageStore(arg_0, arg_1, arg_2);
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  textureStore_d26166();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:3: 'uimage1D' : Reserved word. 
+WARNING: 0:3: 'layout' : useless application of layout qualifier 
+ERROR: 0:3: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 475cf0d..fddef0f4 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,11 +1,43 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, rgba8ui) uniform highp writeonly uimage3D arg_0;
+void textureStore_d2b565() {
+  uvec3 arg_1 = uvec3(1u);
+  uvec4 arg_2 = uvec4(1u);
+  imageStore(arg_0, arg_1, arg_2);
+}
+void main() {
+  textureStore_d2b565();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:9: 'imageStore' : no matching overloaded function found 
+ERROR: 0:9: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, rgba8ui) uniform highp writeonly uimage3D arg_0;
+void textureStore_d2b565() {
+  uvec3 arg_1 = uvec3(1u);
+  uvec4 arg_2 = uvec4(1u);
+  imageStore(arg_0, arg_1, arg_2);
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  textureStore_d2b565();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:7: 'imageStore' : no matching overloaded function found 
+ERROR: 0:7: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 475cf0d..8e16a85 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,11 +1,43 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, rgba32ui) uniform highp writeonly uimage3D arg_0;
+void textureStore_d4aa95() {
+  uvec3 arg_1 = uvec3(1u);
+  uvec4 arg_2 = uvec4(1u);
+  imageStore(arg_0, arg_1, arg_2);
+}
+void main() {
+  textureStore_d4aa95();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:9: 'imageStore' : no matching overloaded function found 
+ERROR: 0:9: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, rgba32ui) uniform highp writeonly uimage3D arg_0;
+void textureStore_d4aa95() {
+  uvec3 arg_1 = uvec3(1u);
+  uvec4 arg_2 = uvec4(1u);
+  imageStore(arg_0, arg_1, arg_2);
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  textureStore_d4aa95();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:7: 'imageStore' : no matching overloaded function found 
+ERROR: 0:7: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 475cf0d..17371b0 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,11 +1,49 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, r32f) uniform highp writeonly image2DArray arg_0;
+void textureStore_d55e65() {
+  uvec2 arg_1 = uvec2(1u);
+  int arg_2 = 1;
+  vec4 arg_3 = vec4(1.0f);
+  uvec2 v = arg_1;
+  vec4 v_1 = arg_3;
+  imageStore(arg_0, uvec3(v, uint(arg_2)), v_1);
+}
+void main() {
+  textureStore_d55e65();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:12: 'imageStore' : no matching overloaded function found 
+ERROR: 0:12: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, r32f) uniform highp writeonly image2DArray arg_0;
+void textureStore_d55e65() {
+  uvec2 arg_1 = uvec2(1u);
+  int arg_2 = 1;
+  vec4 arg_3 = vec4(1.0f);
+  uvec2 v = arg_1;
+  vec4 v_1 = arg_3;
+  imageStore(arg_0, uvec3(v, uint(arg_2)), v_1);
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  textureStore_d55e65();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:10: 'imageStore' : no matching overloaded function found 
+ERROR: 0:10: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 475cf0d..7acfd7a 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,11 +1,43 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 460
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, rg32i) uniform highp writeonly iimage3D arg_0;
+void textureStore_d82b0a() {
+  uvec3 arg_1 = uvec3(1u);
+  ivec4 arg_2 = ivec4(1);
+  imageStore(arg_0, arg_1, arg_2);
+}
+void main() {
+  textureStore_d82b0a();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:9: 'imageStore' : no matching overloaded function found 
+ERROR: 0:9: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 460
+
+layout(binding = 0, rg32i) uniform highp writeonly iimage3D arg_0;
+void textureStore_d82b0a() {
+  uvec3 arg_1 = uvec3(1u);
+  ivec4 arg_2 = ivec4(1);
+  imageStore(arg_0, arg_1, arg_2);
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  textureStore_d82b0a();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:7: 'imageStore' : no matching overloaded function found 
+ERROR: 0:7: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 475cf0d..945edbe 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,11 +1,43 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, rgba16ui) uniform highp writeonly uimage2D arg_0;
+void textureStore_db92a2() {
+  uvec2 arg_1 = uvec2(1u);
+  uvec4 arg_2 = uvec4(1u);
+  imageStore(arg_0, arg_1, arg_2);
+}
+void main() {
+  textureStore_db92a2();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:9: 'imageStore' : no matching overloaded function found 
+ERROR: 0:9: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, rgba16ui) uniform highp writeonly uimage2D arg_0;
+void textureStore_db92a2() {
+  uvec2 arg_1 = uvec2(1u);
+  uvec4 arg_2 = uvec4(1u);
+  imageStore(arg_0, arg_1, arg_2);
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  textureStore_db92a2();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:7: 'imageStore' : no matching overloaded function found 
+ERROR: 0:7: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 475cf0d..abb4d98 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,11 +1,49 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, r32f) uniform highp image2DArray arg_0;
+void textureStore_dce0e2() {
+  uvec2 arg_1 = uvec2(1u);
+  int arg_2 = 1;
+  vec4 arg_3 = vec4(1.0f);
+  uvec2 v = arg_1;
+  vec4 v_1 = arg_3;
+  imageStore(arg_0, uvec3(v, uint(arg_2)), v_1);
+}
+void main() {
+  textureStore_dce0e2();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:12: 'imageStore' : no matching overloaded function found 
+ERROR: 0:12: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, r32f) uniform highp image2DArray arg_0;
+void textureStore_dce0e2() {
+  uvec2 arg_1 = uvec2(1u);
+  int arg_2 = 1;
+  vec4 arg_3 = vec4(1.0f);
+  uvec2 v = arg_1;
+  vec4 v_1 = arg_3;
+  imageStore(arg_0, uvec3(v, uint(arg_2)), v_1);
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  textureStore_dce0e2();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:10: 'imageStore' : no matching overloaded function found 
+ERROR: 0:10: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 475cf0d..64963ee 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,11 +1,45 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, r32i) uniform highp writeonly iimage1D arg_0;
+void textureStore_de4b94() {
+  uint arg_1 = 1u;
+  ivec4 arg_2 = ivec4(1);
+  imageStore(arg_0, arg_1, arg_2);
+}
+void main() {
+  textureStore_de4b94();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:5: 'iimage1D' : Reserved word. 
+WARNING: 0:5: 'layout' : useless application of layout qualifier 
+ERROR: 0:5: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, r32i) uniform highp writeonly iimage1D arg_0;
+void textureStore_de4b94() {
+  uint arg_1 = 1u;
+  ivec4 arg_2 = ivec4(1);
+  imageStore(arg_0, arg_1, arg_2);
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  textureStore_de4b94();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:3: 'iimage1D' : Reserved word. 
+WARNING: 0:3: 'layout' : useless application of layout qualifier 
+ERROR: 0:3: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 475cf0d..67a492d 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,11 +1,43 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, r32i) uniform highp iimage3D arg_0;
+void textureStore_df0c51() {
+  uvec3 arg_1 = uvec3(1u);
+  ivec4 arg_2 = ivec4(1);
+  imageStore(arg_0, arg_1, arg_2);
+}
+void main() {
+  textureStore_df0c51();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:9: 'imageStore' : no matching overloaded function found 
+ERROR: 0:9: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, r32i) uniform highp iimage3D arg_0;
+void textureStore_df0c51() {
+  uvec3 arg_1 = uvec3(1u);
+  ivec4 arg_2 = ivec4(1);
+  imageStore(arg_0, arg_1, arg_2);
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  textureStore_df0c51();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:7: 'imageStore' : no matching overloaded function found 
+ERROR: 0:7: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 475cf0d..9393a9e 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,11 +1,49 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 460
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, rg32f) uniform highp writeonly image2DArray arg_0;
+void textureStore_dfa9a1() {
+  uvec2 arg_1 = uvec2(1u);
+  int arg_2 = 1;
+  vec4 arg_3 = vec4(1.0f);
+  uvec2 v = arg_1;
+  vec4 v_1 = arg_3;
+  imageStore(arg_0, uvec3(v, uint(arg_2)), v_1);
+}
+void main() {
+  textureStore_dfa9a1();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:12: 'imageStore' : no matching overloaded function found 
+ERROR: 0:12: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 460
+
+layout(binding = 0, rg32f) uniform highp writeonly image2DArray arg_0;
+void textureStore_dfa9a1() {
+  uvec2 arg_1 = uvec2(1u);
+  int arg_2 = 1;
+  vec4 arg_3 = vec4(1.0f);
+  uvec2 v = arg_1;
+  vec4 v_1 = arg_3;
+  imageStore(arg_0, uvec3(v, uint(arg_2)), v_1);
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  textureStore_dfa9a1();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:10: 'imageStore' : no matching overloaded function found 
+ERROR: 0:10: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 3910173..de18b1c 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,11 +1,45 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:994 internal compiler error: bgra8unorm should have been polyfilled to rgba8unorm
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, rgba8) uniform highp writeonly image1D arg_0;
+void textureStore_e0b666() {
+  int arg_1 = 1;
+  vec4 arg_2 = vec4(1.0f);
+  imageStore(arg_0, arg_1, arg_2.zyxw);
+}
+void main() {
+  textureStore_e0b666();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:5: 'image1D' : Reserved word. 
+WARNING: 0:5: 'layout' : useless application of layout qualifier 
+ERROR: 0:5: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, rgba8) uniform highp writeonly image1D arg_0;
+void textureStore_e0b666() {
+  int arg_1 = 1;
+  vec4 arg_2 = vec4(1.0f);
+  imageStore(arg_0, arg_1, arg_2.zyxw);
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  textureStore_e0b666();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:3: 'image1D' : Reserved word. 
+WARNING: 0:3: 'layout' : useless application of layout qualifier 
+ERROR: 0:3: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 3910173..7b6f147 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,11 +1,49 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:994 internal compiler error: bgra8unorm should have been polyfilled to rgba8unorm
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, rgba8) uniform highp writeonly image2DArray arg_0;
+void textureStore_e38281() {
+  uvec2 arg_1 = uvec2(1u);
+  uint arg_2 = 1u;
+  vec4 arg_3 = vec4(1.0f);
+  uvec2 v = arg_1;
+  vec4 v_1 = arg_3.zyxw;
+  imageStore(arg_0, uvec3(v, uint(arg_2)), v_1);
+}
+void main() {
+  textureStore_e38281();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:12: 'imageStore' : no matching overloaded function found 
+ERROR: 0:12: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, rgba8) uniform highp writeonly image2DArray arg_0;
+void textureStore_e38281() {
+  uvec2 arg_1 = uvec2(1u);
+  uint arg_2 = 1u;
+  vec4 arg_3 = vec4(1.0f);
+  uvec2 v = arg_1;
+  vec4 v_1 = arg_3.zyxw;
+  imageStore(arg_0, uvec3(v, uint(arg_2)), v_1);
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  textureStore_e38281();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:10: 'imageStore' : no matching overloaded function found 
+ERROR: 0:10: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 023772f..6338d00 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:994 internal compiler error: bgra8unorm should have been polyfilled to rgba8unorm
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 475cf0d..6abda13 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,11 +1,45 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, rgba8) uniform highp writeonly image1D arg_0;
+void textureStore_e7c6d8() {
+  uint arg_1 = 1u;
+  vec4 arg_2 = vec4(1.0f);
+  imageStore(arg_0, arg_1, arg_2);
+}
+void main() {
+  textureStore_e7c6d8();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:5: 'image1D' : Reserved word. 
+WARNING: 0:5: 'layout' : useless application of layout qualifier 
+ERROR: 0:5: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, rgba8) uniform highp writeonly image1D arg_0;
+void textureStore_e7c6d8() {
+  uint arg_1 = 1u;
+  vec4 arg_2 = vec4(1.0f);
+  imageStore(arg_0, arg_1, arg_2);
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  textureStore_e7c6d8();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:3: 'image1D' : Reserved word. 
+WARNING: 0:3: 'layout' : useless application of layout qualifier 
+ERROR: 0:3: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 475cf0d..bf580d4 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,11 +1,45 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, rgba16f) uniform highp writeonly image1D arg_0;
+void textureStore_e885e8() {
+  int arg_1 = 1;
+  vec4 arg_2 = vec4(1.0f);
+  imageStore(arg_0, arg_1, arg_2);
+}
+void main() {
+  textureStore_e885e8();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:5: 'image1D' : Reserved word. 
+WARNING: 0:5: 'layout' : useless application of layout qualifier 
+ERROR: 0:5: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, rgba16f) uniform highp writeonly image1D arg_0;
+void textureStore_e885e8() {
+  int arg_1 = 1;
+  vec4 arg_2 = vec4(1.0f);
+  imageStore(arg_0, arg_1, arg_2);
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  textureStore_e885e8();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:3: 'image1D' : Reserved word. 
+WARNING: 0:3: 'layout' : useless application of layout qualifier 
+ERROR: 0:3: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 475cf0d..b8b57f5 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,11 +1,43 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, r32ui) uniform highp writeonly uimage2D arg_0;
+void textureStore_e8cbf7() {
+  uvec2 arg_1 = uvec2(1u);
+  uvec4 arg_2 = uvec4(1u);
+  imageStore(arg_0, arg_1, arg_2);
+}
+void main() {
+  textureStore_e8cbf7();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:9: 'imageStore' : no matching overloaded function found 
+ERROR: 0:9: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, r32ui) uniform highp writeonly uimage2D arg_0;
+void textureStore_e8cbf7() {
+  uvec2 arg_1 = uvec2(1u);
+  uvec4 arg_2 = uvec4(1u);
+  imageStore(arg_0, arg_1, arg_2);
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  textureStore_e8cbf7();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:7: 'imageStore' : no matching overloaded function found 
+ERROR: 0:7: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 f4b4716..3e15ab4 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,11 +1,49 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 460
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, rg32i) uniform highp iimage2DArray arg_0;
+void textureStore_ea30d2() {
+  uvec2 arg_1 = uvec2(1u);
+  int arg_2 = 1;
+  ivec4 arg_3 = ivec4(1);
+  uvec2 v = arg_1;
+  ivec4 v_1 = arg_3;
+  imageStore(arg_0, uvec3(v, uint(arg_2)), v_1);
+}
+void main() {
+  textureStore_ea30d2();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:12: 'imageStore' : no matching overloaded function found 
+ERROR: 0:12: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 460
+
+layout(binding = 0, rg32i) uniform highp iimage2DArray arg_0;
+void textureStore_ea30d2() {
+  uvec2 arg_1 = uvec2(1u);
+  int arg_2 = 1;
+  ivec4 arg_3 = ivec4(1);
+  uvec2 v = arg_1;
+  ivec4 v_1 = arg_3;
+  imageStore(arg_0, uvec3(v, uint(arg_2)), v_1);
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  textureStore_ea30d2();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:10: 'imageStore' : no matching overloaded function found 
+ERROR: 0:10: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 475cf0d..8b59b71 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,11 +1,43 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, r32i) uniform highp writeonly iimage3D arg_0;
+void textureStore_f1e6d3() {
+  uvec3 arg_1 = uvec3(1u);
+  ivec4 arg_2 = ivec4(1);
+  imageStore(arg_0, arg_1, arg_2);
+}
+void main() {
+  textureStore_f1e6d3();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:9: 'imageStore' : no matching overloaded function found 
+ERROR: 0:9: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, r32i) uniform highp writeonly iimage3D arg_0;
+void textureStore_f1e6d3() {
+  uvec3 arg_1 = uvec3(1u);
+  ivec4 arg_2 = ivec4(1);
+  imageStore(arg_0, arg_1, arg_2);
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  textureStore_f1e6d3();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:7: 'imageStore' : no matching overloaded function found 
+ERROR: 0:7: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 475cf0d..c618ab2 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,11 +1,45 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, r32i) uniform highp iimage1D arg_0;
+void textureStore_f64d69() {
+  int arg_1 = 1;
+  ivec4 arg_2 = ivec4(1);
+  imageStore(arg_0, arg_1, arg_2);
+}
+void main() {
+  textureStore_f64d69();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:5: 'iimage1D' : Reserved word. 
+WARNING: 0:5: 'layout' : useless application of layout qualifier 
+ERROR: 0:5: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, r32i) uniform highp iimage1D arg_0;
+void textureStore_f64d69() {
+  int arg_1 = 1;
+  ivec4 arg_2 = ivec4(1);
+  imageStore(arg_0, arg_1, arg_2);
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  textureStore_f64d69();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:3: 'iimage1D' : Reserved word. 
+WARNING: 0:3: 'layout' : useless application of layout qualifier 
+ERROR: 0:3: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 475cf0d..016a20a 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,11 +1,49 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 460
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, r8) uniform highp writeonly image2DArray arg_0;
+void textureStore_f7b0ab() {
+  uvec2 arg_1 = uvec2(1u);
+  uint arg_2 = 1u;
+  vec4 arg_3 = vec4(1.0f);
+  uvec2 v = arg_1;
+  vec4 v_1 = arg_3;
+  imageStore(arg_0, uvec3(v, uint(arg_2)), v_1);
+}
+void main() {
+  textureStore_f7b0ab();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:12: 'imageStore' : no matching overloaded function found 
+ERROR: 0:12: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 460
+
+layout(binding = 0, r8) uniform highp writeonly image2DArray arg_0;
+void textureStore_f7b0ab() {
+  uvec2 arg_1 = uvec2(1u);
+  uint arg_2 = 1u;
+  vec4 arg_3 = vec4(1.0f);
+  uvec2 v = arg_1;
+  vec4 v_1 = arg_3;
+  imageStore(arg_0, uvec3(v, uint(arg_2)), v_1);
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  textureStore_f7b0ab();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:10: 'imageStore' : no matching overloaded function found 
+ERROR: 0:10: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 475cf0d..dd972dc 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,11 +1,45 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, rgba32ui) uniform highp writeonly uimage1D arg_0;
+void textureStore_fb9a8f() {
+  int arg_1 = 1;
+  uvec4 arg_2 = uvec4(1u);
+  imageStore(arg_0, arg_1, arg_2);
+}
+void main() {
+  textureStore_fb9a8f();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:5: 'uimage1D' : Reserved word. 
+WARNING: 0:5: 'layout' : useless application of layout qualifier 
+ERROR: 0:5: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+layout(binding = 0, rgba32ui) uniform highp writeonly uimage1D arg_0;
+void textureStore_fb9a8f() {
+  int arg_1 = 1;
+  uvec4 arg_2 = uvec4(1u);
+  imageStore(arg_0, arg_1, arg_2);
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  textureStore_fb9a8f();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:3: 'uimage1D' : Reserved word. 
+WARNING: 0:3: 'layout' : useless application of layout qualifier 
+ERROR: 0:3: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  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 475cf0d..5a36c95 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,11 +1,43 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 460
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, rg32f) uniform highp writeonly image3D arg_0;
+void textureStore_fcbe66() {
+  uvec3 arg_1 = uvec3(1u);
+  vec4 arg_2 = vec4(1.0f);
+  imageStore(arg_0, arg_1, arg_2);
+}
+void main() {
+  textureStore_fcbe66();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:9: 'imageStore' : no matching overloaded function found 
+ERROR: 0:9: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 460
+
+layout(binding = 0, rg32f) uniform highp writeonly image3D arg_0;
+void textureStore_fcbe66() {
+  uvec3 arg_1 = uvec3(1u);
+  vec4 arg_2 = vec4(1.0f);
+  imageStore(arg_0, arg_1, arg_2);
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  textureStore_fcbe66();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:7: 'imageStore' : no matching overloaded function found 
+ERROR: 0:7: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 7cc86bd..6338d00 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:732 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:733 internal compiler error: TINT_UNREACHABLE invalid texel format for read-write
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 e710f72..0bd3a3d 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGather
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGather
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 e710f72..0bd3a3d 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGather
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGather
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 e710f72..0bd3a3d 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGather
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGather
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 e710f72..0bd3a3d 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGather
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGather
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 e710f72..0bd3a3d 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGather
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGather
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 e710f72..0bd3a3d 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGather
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGather
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 e710f72..0bd3a3d 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGather
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGather
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 e710f72..0bd3a3d 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGather
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGather
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 e710f72..0bd3a3d 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGather
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGather
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 e710f72..0bd3a3d 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGather
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGather
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 e710f72..0bd3a3d 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGather
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGather
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 e710f72..0bd3a3d 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGather
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureGather
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 b475b2e..55658b9 100644
--- a/test/tint/builtins/textureLoad/depth_ms.spvasm.expected.ir.glsl
+++ b/test/tint/builtins/textureLoad/depth_ms.spvasm.expected.ir.glsl
@@ -1,11 +1,255 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
 
-tint executable returned error: signal: trace/BPT trap
+@group(1) @binding(0) var arg_0 : texture_depth_multisampled_2d;
+
+var<private> tint_symbol_1 = vec4f();
+
+fn textureLoad_6273b1() {
+  var res = 0.0f;
+  res = vec4f(textureLoad(arg_0, vec2i(), 1i), 0.0f, 0.0f, 0.0f).x;
+  return;
+}
+
+fn tint_symbol_2(tint_symbol : vec4f) {
+  tint_symbol_1 = tint_symbol;
+  return;
+}
+
+fn vertex_main_1() {
+  textureLoad_6273b1();
+  tint_symbol_2(vec4f());
+  return;
+}
+
+struct vertex_main_out {
+  @builtin(position)
+  tint_symbol_1_1 : vec4f,
+}
+
+@vertex
+fn vertex_main() -> vertex_main_out {
+  vertex_main_1();
+  return vertex_main_out(tint_symbol_1);
+}
+
+Failed to generate: :16:14 error: glsl.texelFetch: no matching call to 'glsl.texelFetch(texture_depth_multisampled_2d, vec2<i32>, i32)'
+
+5 candidate functions:
+ • 'glsl.texelFetch(texture: texture_2d<T>  ✗ , location: vec2<i32>  ✓ , level: i32  ✓ ) -> vec4<T>' where:
+      ✗  'T' is 'f32', 'i32' or 'u32'
+ • 'glsl.texelFetch(texture: texture_multisampled_2d<T>  ✗ , location: vec2<i32>  ✓ , sample_index: i32  ✓ ) -> vec4<T>' where:
+      ✗  'T' is 'f32', 'i32' or 'u32'
+ • 'glsl.texelFetch(texture: texture_1d<T>  ✗ , location: i32  ✗ , level: i32  ✓ ) -> vec4<T>' where:
+      ✗  'T' is 'f32', 'i32' or 'u32'
+ • 'glsl.texelFetch(texture: texture_2d_array<T>  ✗ , location: vec3<i32>  ✗ , level: i32  ✓ ) -> vec4<T>' where:
+      ✗  'T' is 'f32', 'i32' or 'u32'
+ • 'glsl.texelFetch(texture: texture_3d<T>  ✗ , location: vec3<i32>  ✗ , level: i32  ✓ ) -> vec4<T>' where:
+      ✗  'T' is 'f32', 'i32' or 'u32'
+
+    %8:f32 = glsl.texelFetch %5, %6, %7
+             ^^^^^^^^^^^^^^^
+
+:11:3 note: in block
+  $B2: {
+  ^^^
+
+note: # Disassembly
+vertex_main_out = struct @align(16) {
+  tint_symbol_1_1:vec4<f32> @offset(0), @builtin(position)
+}
+
+$B1: {  # root
+  %arg_0:ptr<handle, texture_depth_multisampled_2d, read> = var @binding_point(0, 0)
+  %tint_symbol_1:ptr<private, vec4<f32>, read_write> = var, vec4<f32>(0.0f)
+}
+
+%textureLoad_6273b1 = func():void {
+  $B2: {
+    %res:ptr<function, f32, read_write> = var, 0.0f
+    %5:texture_depth_multisampled_2d = load %arg_0
+    %6:vec2<i32> = convert vec2<i32>(0i)
+    %7:i32 = convert 1i
+    %8:f32 = glsl.texelFetch %5, %6, %7
+    %9:vec4<f32> = construct %8, 0.0f, 0.0f, 0.0f
+    %10:f32 = access %9, 0u
+    store %res, %10
+    ret
+  }
+}
+%tint_symbol_2 = func(%tint_symbol:vec4<f32>):void {
+  $B3: {
+    store %tint_symbol_1, %tint_symbol
+    ret
+  }
+}
+%vertex_main_1 = func():void {
+  $B4: {
+    %14:void = call %textureLoad_6273b1
+    %15:void = call %tint_symbol_2, vec4<f32>(0.0f)
+    ret
+  }
+}
+%vertex_main = @vertex func():vertex_main_out {
+  $B5: {
+    %17:void = call %vertex_main_1
+    %18:vec4<f32> = load %tint_symbol_1
+    %19:vertex_main_out = construct %18
+    ret %19
+  }
+}
+
+
+@group(1) @binding(0) var arg_0 : texture_depth_multisampled_2d;
+
+fn textureLoad_6273b1() {
+  var res = 0.0f;
+  res = vec4f(textureLoad(arg_0, vec2i(), 1i), 0.0f, 0.0f, 0.0f).x;
+  return;
+}
+
+struct vertex_main_out {
+  @builtin(position)
+  tint_symbol_1_1 : vec4f,
+}
+
+fn fragment_main_1() {
+  textureLoad_6273b1();
+  return;
+}
+
+@fragment
+fn fragment_main() {
+  fragment_main_1();
+}
+
+Failed to generate: :11:14 error: glsl.texelFetch: no matching call to 'glsl.texelFetch(texture_depth_multisampled_2d, vec2<i32>, i32)'
+
+5 candidate functions:
+ • 'glsl.texelFetch(texture: texture_2d<T>  ✗ , location: vec2<i32>  ✓ , level: i32  ✓ ) -> vec4<T>' where:
+      ✗  'T' is 'f32', 'i32' or 'u32'
+ • 'glsl.texelFetch(texture: texture_multisampled_2d<T>  ✗ , location: vec2<i32>  ✓ , sample_index: i32  ✓ ) -> vec4<T>' where:
+      ✗  'T' is 'f32', 'i32' or 'u32'
+ • 'glsl.texelFetch(texture: texture_1d<T>  ✗ , location: i32  ✗ , level: i32  ✓ ) -> vec4<T>' where:
+      ✗  'T' is 'f32', 'i32' or 'u32'
+ • 'glsl.texelFetch(texture: texture_2d_array<T>  ✗ , location: vec3<i32>  ✗ , level: i32  ✓ ) -> vec4<T>' where:
+      ✗  'T' is 'f32', 'i32' or 'u32'
+ • 'glsl.texelFetch(texture: texture_3d<T>  ✗ , location: vec3<i32>  ✗ , level: i32  ✓ ) -> vec4<T>' where:
+      ✗  'T' is 'f32', 'i32' or 'u32'
+
+    %7:f32 = glsl.texelFetch %4, %5, %6
+             ^^^^^^^^^^^^^^^
+
+:6:3 note: in block
+  $B2: {
+  ^^^
+
+note: # Disassembly
+$B1: {  # root
+  %arg_0:ptr<handle, texture_depth_multisampled_2d, read> = var @binding_point(0, 0)
+}
+
+%textureLoad_6273b1 = func():void {
+  $B2: {
+    %res:ptr<function, f32, read_write> = var, 0.0f
+    %4:texture_depth_multisampled_2d = load %arg_0
+    %5:vec2<i32> = convert vec2<i32>(0i)
+    %6:i32 = convert 1i
+    %7:f32 = glsl.texelFetch %4, %5, %6
+    %8:vec4<f32> = construct %7, 0.0f, 0.0f, 0.0f
+    %9:f32 = access %8, 0u
+    store %res, %9
+    ret
+  }
+}
+%fragment_main_1 = func():void {
+  $B3: {
+    %11:void = call %textureLoad_6273b1
+    ret
+  }
+}
+%fragment_main = @fragment func():void {
+  $B4: {
+    %13:void = call %fragment_main_1
+    ret
+  }
+}
+
+
+@group(1) @binding(0) var arg_0 : texture_depth_multisampled_2d;
+
+fn textureLoad_6273b1() {
+  var res = 0.0f;
+  res = vec4f(textureLoad(arg_0, vec2i(), 1i), 0.0f, 0.0f, 0.0f).x;
+  return;
+}
+
+struct vertex_main_out {
+  @builtin(position)
+  tint_symbol_1_1 : vec4f,
+}
+
+fn compute_main_1() {
+  textureLoad_6273b1();
+  return;
+}
+
+@compute @workgroup_size(1i, 1i, 1i)
+fn compute_main() {
+  compute_main_1();
+}
+
+Failed to generate: :11:14 error: glsl.texelFetch: no matching call to 'glsl.texelFetch(texture_depth_multisampled_2d, vec2<i32>, i32)'
+
+5 candidate functions:
+ • 'glsl.texelFetch(texture: texture_2d<T>  ✗ , location: vec2<i32>  ✓ , level: i32  ✓ ) -> vec4<T>' where:
+      ✗  'T' is 'f32', 'i32' or 'u32'
+ • 'glsl.texelFetch(texture: texture_multisampled_2d<T>  ✗ , location: vec2<i32>  ✓ , sample_index: i32  ✓ ) -> vec4<T>' where:
+      ✗  'T' is 'f32', 'i32' or 'u32'
+ • 'glsl.texelFetch(texture: texture_1d<T>  ✗ , location: i32  ✗ , level: i32  ✓ ) -> vec4<T>' where:
+      ✗  'T' is 'f32', 'i32' or 'u32'
+ • 'glsl.texelFetch(texture: texture_2d_array<T>  ✗ , location: vec3<i32>  ✗ , level: i32  ✓ ) -> vec4<T>' where:
+      ✗  'T' is 'f32', 'i32' or 'u32'
+ • 'glsl.texelFetch(texture: texture_3d<T>  ✗ , location: vec3<i32>  ✗ , level: i32  ✓ ) -> vec4<T>' where:
+      ✗  'T' is 'f32', 'i32' or 'u32'
+
+    %7:f32 = glsl.texelFetch %4, %5, %6
+             ^^^^^^^^^^^^^^^
+
+:6:3 note: in block
+  $B2: {
+  ^^^
+
+note: # Disassembly
+$B1: {  # root
+  %arg_0:ptr<handle, texture_depth_multisampled_2d, read> = var @binding_point(0, 0)
+}
+
+%textureLoad_6273b1 = func():void {
+  $B2: {
+    %res:ptr<function, f32, read_write> = var, 0.0f
+    %4:texture_depth_multisampled_2d = load %arg_0
+    %5:vec2<i32> = convert vec2<i32>(0i)
+    %6:i32 = convert 1i
+    %7:f32 = glsl.texelFetch %4, %5, %6
+    %8:vec4<f32> = construct %7, 0.0f, 0.0f, 0.0f
+    %9:f32 = access %8, 0u
+    store %res, %9
+    ret
+  }
+}
+%compute_main_1 = func():void {
+  $B3: {
+    %11:void = call %textureLoad_6273b1
+    ret
+  }
+}
+%compute_main = @compute @workgroup_size(1, 1, 1) func():void {
+  $B4: {
+    %13:void = call %compute_main_1
+    ret
+  }
+}
+
+
+tint executable returned error: exit status 1
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 afeb852..f86bf54 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureNumSamples
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureNumSamples
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 0aecbac..2042302 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSample
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSample
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 fad19af..55ec1b4 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSample
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSample
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 ba64cfd..69bbc26 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSample
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSample
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/diagnostic_filtering/directive.wgsl.expected.ir.glsl b/test/tint/diagnostic_filtering/directive.wgsl.expected.ir.glsl
index 38d9b04..69208b0 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSample
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSample
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 8f7edd9..1049a07 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSample
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSample
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 b52e83d..09e30c1 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSample
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSample
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 d1838f6..01d46e8 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSample
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSample
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 38c2109..ef534fe 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSample
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSample
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 44f51af..a5c7e92 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSample
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSample
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 134c3fa..78aa5e9 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSample
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSample
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 65a3277..9a9b3f3 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSample
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSample
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 25058dc..39f859a 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:851 internal compiler error: TINT_UNREACHABLE PixelLocal not supported
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:852 internal compiler error: TINT_UNREACHABLE PixelLocal not supported
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 25058dc..39f859a 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:851 internal compiler error: TINT_UNREACHABLE PixelLocal not supported
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:852 internal compiler error: TINT_UNREACHABLE PixelLocal not supported
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 25058dc..39f859a 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:851 internal compiler error: TINT_UNREACHABLE PixelLocal not supported
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:852 internal compiler error: TINT_UNREACHABLE PixelLocal not supported
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 25058dc..39f859a 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:851 internal compiler error: TINT_UNREACHABLE PixelLocal not supported
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:852 internal compiler error: TINT_UNREACHABLE PixelLocal not supported
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 25058dc..39f859a 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:851 internal compiler error: TINT_UNREACHABLE PixelLocal not supported
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:852 internal compiler error: TINT_UNREACHABLE PixelLocal not supported
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 25058dc..39f859a 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:851 internal compiler error: TINT_UNREACHABLE PixelLocal not supported
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:852 internal compiler error: TINT_UNREACHABLE PixelLocal not supported
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 25058dc..39f859a 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:851 internal compiler error: TINT_UNREACHABLE PixelLocal not supported
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:852 internal compiler error: TINT_UNREACHABLE PixelLocal not supported
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 25058dc..39f859a 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:851 internal compiler error: TINT_UNREACHABLE PixelLocal not supported
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:852 internal compiler error: TINT_UNREACHABLE PixelLocal not supported
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 25058dc..39f859a 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:851 internal compiler error: TINT_UNREACHABLE PixelLocal not supported
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:852 internal compiler error: TINT_UNREACHABLE PixelLocal not supported
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 25058dc..39f859a 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:851 internal compiler error: TINT_UNREACHABLE PixelLocal not supported
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:852 internal compiler error: TINT_UNREACHABLE PixelLocal not supported
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 25058dc..39f859a 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,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:851 internal compiler error: TINT_UNREACHABLE PixelLocal not supported
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:852 internal compiler error: TINT_UNREACHABLE PixelLocal not supported
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 25058dc..39f859a 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,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:851 internal compiler error: TINT_UNREACHABLE PixelLocal not supported
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:852 internal compiler error: TINT_UNREACHABLE PixelLocal not supported
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 25058dc..39f859a 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,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:851 internal compiler error: TINT_UNREACHABLE PixelLocal not supported
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:852 internal compiler error: TINT_UNREACHABLE PixelLocal not supported
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 25058dc..39f859a 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,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:851 internal compiler error: TINT_UNREACHABLE PixelLocal not supported
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:852 internal compiler error: TINT_UNREACHABLE PixelLocal not supported
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 25058dc..39f859a 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,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:851 internal compiler error: TINT_UNREACHABLE PixelLocal not supported
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:852 internal compiler error: TINT_UNREACHABLE PixelLocal not supported
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/extensions/pixel_local/entry_point_use/zero_outputs/single_attachment.wgsl.expected.ir.glsl b/test/tint/extensions/pixel_local/entry_point_use/zero_outputs/single_attachment.wgsl.expected.ir.glsl
index 25058dc..39f859a 100644
--- a/test/tint/extensions/pixel_local/entry_point_use/zero_outputs/single_attachment.wgsl.expected.ir.glsl
+++ b/test/tint/extensions/pixel_local/entry_point_use/zero_outputs/single_attachment.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:851 internal compiler error: TINT_UNREACHABLE PixelLocal not supported
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:852 internal compiler error: TINT_UNREACHABLE PixelLocal not supported
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 25058dc..39f859a 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,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:851 internal compiler error: TINT_UNREACHABLE PixelLocal not supported
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:852 internal compiler error: TINT_UNREACHABLE PixelLocal not supported
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 25058dc..39f859a 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,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:851 internal compiler error: TINT_UNREACHABLE PixelLocal not supported
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:852 internal compiler error: TINT_UNREACHABLE PixelLocal not supported
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 25058dc..39f859a 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,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:851 internal compiler error: TINT_UNREACHABLE PixelLocal not supported
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:852 internal compiler error: TINT_UNREACHABLE PixelLocal not supported
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 25058dc..39f859a 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,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:851 internal compiler error: TINT_UNREACHABLE PixelLocal not supported
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:852 internal compiler error: TINT_UNREACHABLE PixelLocal not supported
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 25058dc..39f859a 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,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:851 internal compiler error: TINT_UNREACHABLE PixelLocal not supported
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:852 internal compiler error: TINT_UNREACHABLE PixelLocal not supported
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/extensions/pixel_local/indirect_use/zero_outputs/single_attachment.wgsl.expected.ir.glsl b/test/tint/extensions/pixel_local/indirect_use/zero_outputs/single_attachment.wgsl.expected.ir.glsl
index 25058dc..39f859a 100644
--- a/test/tint/extensions/pixel_local/indirect_use/zero_outputs/single_attachment.wgsl.expected.ir.glsl
+++ b/test/tint/extensions/pixel_local/indirect_use/zero_outputs/single_attachment.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:851 internal compiler error: TINT_UNREACHABLE PixelLocal not supported
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:852 internal compiler error: TINT_UNREACHABLE PixelLocal not supported
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 25058dc..39f859a 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: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:851 internal compiler error: TINT_UNREACHABLE PixelLocal not supported
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:852 internal compiler error: TINT_UNREACHABLE PixelLocal not supported
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 c99d849..0f5dc88 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSample
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSample
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/types/sampler.wgsl.expected.ir.glsl b/test/tint/types/sampler.wgsl.expected.ir.glsl
index c99d849..0f5dc88 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSample
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSample
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 c99d849..0f5dc88 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSample
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSample
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 b475b2e..6595523 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,11 +1,36 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+uniform highp sampler1D x_20;
+void main_1() {
+  float float_var = 0.0f;
+  int i1 = 1;
+  ivec2 vi12 = ivec2(1, 2);
+  ivec3 vi123 = ivec3(1, 2, 3);
+  ivec4 vi1234 = ivec4(1, 2, 3, 4);
+  uvec2 vu12 = uvec2(1u, 2u);
+  uvec3 vu123 = uvec3(1u, 2u, 3u);
+  uvec4 vu1234 = uvec4(1u, 2u, 3u, 4u);
+  float f1 = 1.0f;
+  vec2 vf12 = vec2(1.0f, 2.0f);
+  vec3 vf123 = vec3(1.0f, 2.0f, 3.0f);
+  vec4 vf1234 = vec4(1.0f, 2.0f, 3.0f, 4.0f);
+  int v = int(1);
+  vec4 x_73 = texelFetch(x_20, v, int(0));
+  uint x_1000 = 0u;
+}
+void main() {
+  main_1();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:5: 'sampler1D' : Reserved word. 
+ERROR: 0:5: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 b475b2e..7d203b2 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,11 +1,36 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+uniform highp sampler1D x_20;
+void main_1() {
+  float float_var = 0.0f;
+  int i1 = 1;
+  ivec2 vi12 = ivec2(1, 2);
+  ivec3 vi123 = ivec3(1, 2, 3);
+  ivec4 vi1234 = ivec4(1, 2, 3, 4);
+  uvec2 vu12 = uvec2(1u, 2u);
+  uvec3 vu123 = uvec3(1u, 2u, 3u);
+  uvec4 vu1234 = uvec4(1u, 2u, 3u, 4u);
+  float f1 = 1.0f;
+  vec2 vf12 = vec2(1.0f, 2.0f);
+  vec3 vf123 = vec3(1.0f, 2.0f, 3.0f);
+  vec4 vf1234 = vec4(1.0f, 2.0f, 3.0f, 4.0f);
+  int v = int(1);
+  vec4 x_71 = texelFetch(x_20, v, int(0));
+  uint x_1000 = 0u;
+}
+void main() {
+  main_1();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:5: 'sampler1D' : Reserved word. 
+ERROR: 0:5: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 475cf0d..f629577 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,11 +1,37 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 1, r32f) uniform highp writeonly image1D x_20;
+void main_1() {
+  float float_var = 0.0f;
+  int i1 = 1;
+  ivec2 vi12 = ivec2(1, 2);
+  ivec3 vi123 = ivec3(1, 2, 3);
+  ivec4 vi1234 = ivec4(1, 2, 3, 4);
+  uint u1 = 1u;
+  uvec2 vu12 = uvec2(1u, 2u);
+  uvec3 vu123 = uvec3(1u, 2u, 3u);
+  uvec4 vu1234 = uvec4(1u, 2u, 3u, 4u);
+  float f1 = 1.0f;
+  vec2 vf12 = vec2(1.0f, 2.0f);
+  vec3 vf123 = vec3(1.0f, 2.0f, 3.0f);
+  vec4 vf1234 = vec4(1.0f, 2.0f, 3.0f, 4.0f);
+  imageStore(x_20, int(u1), vf1234);
+  uint x_1000 = 0u;
+}
+void main() {
+  main_1();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:5: 'image1D' : Reserved word. 
+WARNING: 0:5: 'layout' : useless application of layout 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/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 c99d849..0f5dc88 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSample
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSample
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 c99d849..0f5dc88 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSample
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSample
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 c99d849..0f5dc88 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSample
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSample
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 c99d849..0f5dc88 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSample
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSample
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 cd405ed..0f5dc88 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:618 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSample
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 cd405ed..0f5dc88 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:618 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSample
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 c99d849..0f5dc88 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSample
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSample
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 c99d849..0f5dc88 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSample
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSample
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 c99d849..0f5dc88 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSample
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSample
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 c99d849..0f5dc88 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSample
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSample
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 c99d849..0f5dc88 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSample
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSample
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 cd405ed..0f5dc88 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:618 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSample
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 c99d849..0f5dc88 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSample
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSample
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 c99d849..0f5dc88 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSample
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSample
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 b475b2e..8e300c5 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,11 +1,83 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
 
-tint executable returned error: signal: trace/BPT trap
+@group(2) @binding(1) var x_20 : texture_depth_multisampled_2d;
+
+fn main_1() {
+  let f1 = 1.0f;
+  let vf12 = vec2f(1.0f, 2.0f);
+  let vf123 = vec3f(1.0f, 2.0f, 3.0f);
+  let vf1234 = vec4f(1.0f, 2.0f, 3.0f, 4.0f);
+  let vi123 = vec3i(1i, 2i, 3i);
+  let vi1234 = vec4i(1i, 2i, 3i, 4i);
+  let u1 = 1u;
+  let vu12 = vec2u(1u, 2u);
+  let vu123 = vec3u(1u, 2u, 3u);
+  let vu1234 = vec4u(1u, 2u, 3u, 4u);
+  let offsets2d = vec2i(3i, 4i);
+  let x_99 = vec4f(textureLoad(x_20, vec2i(1i, 2i), 1i), 0.0f, 0.0f, 0.0f);
+  return;
+}
+
+@fragment
+fn tint_symbol() {
+  main_1();
+}
+
+Failed to generate: :21:15 error: glsl.texelFetch: no matching call to 'glsl.texelFetch(texture_depth_multisampled_2d, vec2<i32>, i32)'
+
+5 candidate functions:
+ • 'glsl.texelFetch(texture: texture_2d<T>  ✗ , location: vec2<i32>  ✓ , level: i32  ✓ ) -> vec4<T>' where:
+      ✗  'T' is 'f32', 'i32' or 'u32'
+ • 'glsl.texelFetch(texture: texture_multisampled_2d<T>  ✗ , location: vec2<i32>  ✓ , sample_index: i32  ✓ ) -> vec4<T>' where:
+      ✗  'T' is 'f32', 'i32' or 'u32'
+ • 'glsl.texelFetch(texture: texture_1d<T>  ✗ , location: i32  ✗ , level: i32  ✓ ) -> vec4<T>' where:
+      ✗  'T' is 'f32', 'i32' or 'u32'
+ • 'glsl.texelFetch(texture: texture_2d_array<T>  ✗ , location: vec3<i32>  ✗ , level: i32  ✓ ) -> vec4<T>' where:
+      ✗  'T' is 'f32', 'i32' or 'u32'
+ • 'glsl.texelFetch(texture: texture_3d<T>  ✗ , location: vec3<i32>  ✗ , level: i32  ✓ ) -> vec4<T>' where:
+      ✗  'T' is 'f32', 'i32' or 'u32'
+
+    %17:f32 = glsl.texelFetch %14, %15, %16
+              ^^^^^^^^^^^^^^^
+
+:6:3 note: in block
+  $B2: {
+  ^^^
+
+note: # Disassembly
+$B1: {  # root
+  %x_20:ptr<handle, texture_depth_multisampled_2d, read> = var @binding_point(0, 1)
+}
+
+%main_1 = func():void {
+  $B2: {
+    %f1:f32 = let 1.0f
+    %vf12:vec2<f32> = let vec2<f32>(1.0f, 2.0f)
+    %vf123:vec3<f32> = let vec3<f32>(1.0f, 2.0f, 3.0f)
+    %vf1234:vec4<f32> = let vec4<f32>(1.0f, 2.0f, 3.0f, 4.0f)
+    %vi123:vec3<i32> = let vec3<i32>(1i, 2i, 3i)
+    %vi1234:vec4<i32> = let vec4<i32>(1i, 2i, 3i, 4i)
+    %u1:u32 = let 1u
+    %vu12:vec2<u32> = let vec2<u32>(1u, 2u)
+    %vu123:vec3<u32> = let vec3<u32>(1u, 2u, 3u)
+    %vu1234:vec4<u32> = let vec4<u32>(1u, 2u, 3u, 4u)
+    %offsets2d:vec2<i32> = let vec2<i32>(3i, 4i)
+    %14:texture_depth_multisampled_2d = load %x_20
+    %15:vec2<i32> = convert vec2<i32>(1i, 2i)
+    %16:i32 = convert 1i
+    %17:f32 = glsl.texelFetch %14, %15, %16
+    %18:vec4<f32> = construct %17, 0.0f, 0.0f, 0.0f
+    %x_99:vec4<f32> = let %18
+    ret
+  }
+}
+%tint_symbol = @fragment func():void {
+  $B3: {
+    %21:void = call %main_1
+    ret
+  }
+}
+
+
+tint executable returned error: exit status 1
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 b475b2e..928ec74 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
+<dawn>/src/tint/lang/glsl/writer/raise/builtin_polyfill.cc:469 internal compiler error: TINT_ASSERT(!tex->Type()->Is<core::type::DepthTexture>())
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 b475b2e..928ec74 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
+<dawn>/src/tint/lang/glsl/writer/raise/builtin_polyfill.cc:469 internal compiler error: TINT_ASSERT(!tex->Type()->Is<core::type::DepthTexture>())
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 b475b2e..928ec74 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
+<dawn>/src/tint/lang/glsl/writer/raise/builtin_polyfill.cc:469 internal compiler error: TINT_ASSERT(!tex->Type()->Is<core::type::DepthTexture>())
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 14389ea..7eca8f7 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureNumLevels
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureNumLevels
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 14389ea..7eca8f7 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureNumLevels
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureNumLevels
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 14389ea..7eca8f7 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureNumLevels
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureNumLevels
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 14389ea..7eca8f7 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureNumLevels
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureNumLevels
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 14389ea..7eca8f7 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureNumLevels
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureNumLevels
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 14389ea..7eca8f7 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureNumLevels
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureNumLevels
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 14389ea..7eca8f7 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureNumLevels
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureNumLevels
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 14389ea..7eca8f7 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureNumLevels
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureNumLevels
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 14389ea..7eca8f7 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureNumLevels
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureNumLevels
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 14389ea..7eca8f7 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureNumLevels
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureNumLevels
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 afeb852..f86bf54 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureNumSamples
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureNumSamples
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 afeb852..f86bf54 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureNumSamples
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureNumSamples
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 fba4c01..e159074 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleCompareLevel
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleCompareLevel
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 cd405ed..e159074 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:618 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleCompareLevel
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 fba4c01..e159074 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleCompareLevel
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleCompareLevel
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 cd405ed..e159074 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:618 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleCompareLevel
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 fba4c01..e159074 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleCompareLevel
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleCompareLevel
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 cd405ed..e159074 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:618 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleCompareLevel
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 8a07773..29c0278 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleCompare
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleCompare
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 cd405ed..29c0278 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:618 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleCompare
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 8a07773..29c0278 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleCompare
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleCompare
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 cd405ed..29c0278 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:618 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleCompare
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 34d581a..1970bb2 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleLevel
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleLevel
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 34d581a..1970bb2 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleLevel
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleLevel
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 eaba717..e45a0cd 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleGrad
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleGrad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 cd405ed..e45a0cd 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:618 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleGrad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 eaba717..e45a0cd 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleGrad
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleGrad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 eaba717..e45a0cd 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleGrad
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleGrad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 cd405ed..e45a0cd 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:618 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleGrad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 cd405ed..e45a0cd 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:618 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleGrad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 34d581a..1970bb2 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleLevel
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleLevel
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 cd405ed..1970bb2 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:618 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleLevel
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 34d581a..1970bb2 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleLevel
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleLevel
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 34d581a..1970bb2 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleLevel
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleLevel
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 cd405ed..1970bb2 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:618 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleLevel
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 c99d849..0f5dc88 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSample
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSample
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 c99d849..0f5dc88 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSample
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSample
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 cd405ed..0f5dc88 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:618 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSample
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 c99d849..0f5dc88 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSample
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSample
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 cd405ed..0f5dc88 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:618 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSample
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 ef83938..96b1f7b 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleBias
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleBias
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 cd405ed..96b1f7b 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:618 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleBias
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 ef83938..96b1f7b 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleBias
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleBias
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 ef83938..96b1f7b 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleBias
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleBias
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 cd405ed..96b1f7b 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:618 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleBias
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 fba4c01..e159074 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleCompareLevel
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleCompareLevel
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 fba4c01..e159074 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleCompareLevel
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleCompareLevel
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 8a07773..29c0278 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleCompare
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleCompare
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 8a07773..29c0278 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleCompare
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleCompare
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 eaba717..e45a0cd 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleGrad
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleGrad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 eaba717..e45a0cd 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleGrad
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleGrad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 34d581a..1970bb2 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleLevel
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleLevel
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 34d581a..1970bb2 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleLevel
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleLevel
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 ef83938..96b1f7b 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleBias
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleBias
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 ef83938..96b1f7b 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleBias
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleBias
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 ef83938..96b1f7b 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleBias
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleBias
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 c99d849..0f5dc88 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSample
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSample
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 c99d849..0f5dc88 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSample
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSample
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 c99d849..0f5dc88 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSample
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSample
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 c99d849..0f5dc88 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSample
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSample
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 c99d849..0f5dc88 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSample
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSample
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 475cf0d..8837882 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,11 +1,35 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 1, rg32f) uniform highp writeonly image2D x_20;
+void main_1() {
+  float f1 = 1.0f;
+  vec2 vf12 = vec2(1.0f, 2.0f);
+  vec3 vf123 = vec3(1.0f, 2.0f, 3.0f);
+  vec4 vf1234 = vec4(1.0f, 2.0f, 3.0f, 4.0f);
+  int i1 = 1;
+  ivec2 vi12 = ivec2(1, 2);
+  ivec3 vi123 = ivec3(1, 2, 3);
+  ivec4 vi1234 = ivec4(1, 2, 3, 4);
+  uint u1 = 1u;
+  uvec2 vu12 = uvec2(1u, 2u);
+  uvec3 vu123 = uvec3(1u, 2u, 3u);
+  uvec4 vu1234 = uvec4(1u, 2u, 3u, 4u);
+  ivec2 offsets2d = ivec2(3, 4);
+  imageStore(x_20, vi12, vec4(vf12, 0.0f, 0.0f));
+}
+void main() {
+  main_1();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:5: 'image load-store format' : not supported with this profile: es
+ERROR: 0:5: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 475cf0d..abd95e5 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,11 +1,35 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 1, rg32f) uniform highp writeonly image2D x_20;
+void main_1() {
+  float f1 = 1.0f;
+  vec2 vf12 = vec2(1.0f, 2.0f);
+  vec3 vf123 = vec3(1.0f, 2.0f, 3.0f);
+  vec4 vf1234 = vec4(1.0f, 2.0f, 3.0f, 4.0f);
+  int i1 = 1;
+  ivec2 vi12 = ivec2(1, 2);
+  ivec3 vi123 = ivec3(1, 2, 3);
+  ivec4 vi1234 = ivec4(1, 2, 3, 4);
+  uint u1 = 1u;
+  uvec2 vu12 = uvec2(1u, 2u);
+  uvec3 vu123 = uvec3(1u, 2u, 3u);
+  uvec4 vu1234 = uvec4(1u, 2u, 3u, 4u);
+  ivec2 offsets2d = ivec2(3, 4);
+  imageStore(x_20, vi12, vec4(vf123, 0.0f));
+}
+void main() {
+  main_1();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:5: 'image load-store format' : not supported with this profile: es
+ERROR: 0:5: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 475cf0d..69dd992 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,11 +1,35 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 1, rg32f) uniform highp writeonly image2D x_20;
+void main_1() {
+  float f1 = 1.0f;
+  vec2 vf12 = vec2(1.0f, 2.0f);
+  vec3 vf123 = vec3(1.0f, 2.0f, 3.0f);
+  vec4 vf1234 = vec4(1.0f, 2.0f, 3.0f, 4.0f);
+  int i1 = 1;
+  ivec2 vi12 = ivec2(1, 2);
+  ivec3 vi123 = ivec3(1, 2, 3);
+  ivec4 vi1234 = ivec4(1, 2, 3, 4);
+  uint u1 = 1u;
+  uvec2 vu12 = uvec2(1u, 2u);
+  uvec3 vu123 = uvec3(1u, 2u, 3u);
+  uvec4 vu1234 = uvec4(1u, 2u, 3u, 4u);
+  ivec2 offsets2d = ivec2(3, 4);
+  imageStore(x_20, vi12, vf1234);
+}
+void main() {
+  main_1();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:5: 'image load-store format' : not supported with this profile: es
+ERROR: 0:5: '' : 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 afeb852..f86bf54 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureNumSamples
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureNumSamples
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 cd405ed..0f5dc88 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:618 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSample
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 cd405ed..1970bb2 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:618 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleLevel
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 cd405ed..29c0278 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:618 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleCompare
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 c99d849..0f5dc88 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSample
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSample
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 c99d849..0f5dc88 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSample
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSample
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 34d581a..1970bb2 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleLevel
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleLevel
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 8a07773..29c0278 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleCompare
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleCompare
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 b475b2e..9afb254 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,11 +1,36 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+uniform highp sampler1D x_20;
+void main_1() {
+  float float_var = 0.0f;
+  ivec2 vi12 = ivec2(1, 2);
+  ivec3 vi123 = ivec3(1, 2, 3);
+  ivec4 vi1234 = ivec4(1, 2, 3, 4);
+  uint u1 = 1u;
+  uvec2 vu12 = uvec2(1u, 2u);
+  uvec3 vu123 = uvec3(1u, 2u, 3u);
+  uvec4 vu1234 = uvec4(1u, 2u, 3u, 4u);
+  float f1 = 1.0f;
+  vec2 vf12 = vec2(1.0f, 2.0f);
+  vec3 vf123 = vec3(1.0f, 2.0f, 3.0f);
+  vec4 vf1234 = vec4(1.0f, 2.0f, 3.0f, 4.0f);
+  int v = int(1);
+  vec4 x_73 = texelFetch(x_20, v, int(0));
+  uint x_1000 = 0u;
+}
+void main() {
+  main_1();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:5: 'sampler1D' : Reserved word. 
+ERROR: 0:5: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 b475b2e..b54e3c6 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,11 +1,36 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+uniform highp sampler1D x_20;
+void main_1() {
+  float float_var = 0.0f;
+  ivec2 vi12 = ivec2(1, 2);
+  ivec3 vi123 = ivec3(1, 2, 3);
+  ivec4 vi1234 = ivec4(1, 2, 3, 4);
+  uint u1 = 1u;
+  uvec2 vu12 = uvec2(1u, 2u);
+  uvec3 vu123 = uvec3(1u, 2u, 3u);
+  uvec4 vu1234 = uvec4(1u, 2u, 3u, 4u);
+  float f1 = 1.0f;
+  vec2 vf12 = vec2(1.0f, 2.0f);
+  vec3 vf123 = vec3(1.0f, 2.0f, 3.0f);
+  vec4 vf1234 = vec4(1.0f, 2.0f, 3.0f, 4.0f);
+  int v = int(1);
+  vec4 x_71 = texelFetch(x_20, v, int(0));
+  uint x_1000 = 0u;
+}
+void main() {
+  main_1();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:5: 'sampler1D' : Reserved word. 
+ERROR: 0:5: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
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 475cf0d..d8b6bd6 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,11 +1,37 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 1, r32f) uniform highp writeonly image1D x_20;
+void main_1() {
+  float float_var = 0.0f;
+  int i1 = 1;
+  ivec2 vi12 = ivec2(1, 2);
+  ivec3 vi123 = ivec3(1, 2, 3);
+  ivec4 vi1234 = ivec4(1, 2, 3, 4);
+  uint u1 = 1u;
+  uvec2 vu12 = uvec2(1u, 2u);
+  uvec3 vu123 = uvec3(1u, 2u, 3u);
+  uvec4 vu1234 = uvec4(1u, 2u, 3u, 4u);
+  float f1 = 1.0f;
+  vec2 vf12 = vec2(1.0f, 2.0f);
+  vec3 vf123 = vec3(1.0f, 2.0f, 3.0f);
+  vec4 vf1234 = vec4(1.0f, 2.0f, 3.0f, 4.0f);
+  imageStore(x_20, i1, vf1234);
+  uint x_1000 = 0u;
+}
+void main() {
+  main_1();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:5: 'image1D' : Reserved word. 
+WARNING: 0:5: 'layout' : useless application of layout 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/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 b475b2e..1982995 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,11 +1,23 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+uniform highp sampler1D x_20;
+void main_1() {
+  int v = int(1);
+  vec4 x_125 = texelFetch(x_20, v, int(0));
+}
+void main() {
+  main_1();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:5: 'sampler1D' : Reserved word. 
+ERROR: 0:5: '' : 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_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 475cf0d..e546314 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,11 +1,22 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+layout(binding = 0, rg32f) uniform highp writeonly image1D x_20;
+void main_1() {
+  imageStore(x_20, 1, vec4(0.0f));
+}
+void main() {
+  main_1();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:5: 'image load-store format' : not supported with this profile: es
+ERROR: 0:5: '' : 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_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 b475b2e..a029926 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,11 +1,23 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
-********************************************************************
-*  The tint shader compiler has encountered an unexpected error.   *
-*                                                                  *
-*  Please help us fix this issue by submitting a bug report at     *
-*  crbug.com/tint with the source program that triggered the bug.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: trace/BPT trap
+uniform highp sampler1D x_20;
+void main_1() {
+  int v = int(0);
+  vec4 x_125 = texelFetch(x_20, v, int(0));
+}
+void main() {
+  main_1();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:5: 'sampler1D' : Reserved word. 
+ERROR: 0:5: '' : 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_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 14389ea..7eca8f7 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureNumLevels
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureNumLevels
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 afeb852..f86bf54 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureNumSamples
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureNumSamples
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 c99d849..0f5dc88 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSample
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSample
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 34d581a..1970bb2 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleLevel
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleLevel
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 8a07773..29c0278 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleCompare
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleCompare
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 c99d849..0f5dc88 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSample
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSample
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 34d581a..1970bb2 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleLevel
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleLevel
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 8a07773..29c0278 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleCompare
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleCompare
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 fba4c01..e159074 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleCompareLevel
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSampleCompareLevel
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
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 c99d849..0f5dc88 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:1451 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSample
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1468 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureSample
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *