[ir][msl] Generate expectation files.
Add SKIP expectation files for the MSL IR printer.
Bug: tint:1967
Change-Id: Ia0597244328d580fef391a094c46f131751bc01f
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/162040
Kokoro: Kokoro <noreply+kokoro@google.com>
Reviewed-by: Ben Clayton <bclayton@google.com>
Commit-Queue: dan sinclair <dsinclair@chromium.org>
diff --git a/test/tint/builtins/gen/literal/textureStore/00ca64.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/00ca64.wgsl.expected.ir.msl
new file mode 100644
index 0000000..b38060a
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/00ca64.wgsl.expected.ir.msl
@@ -0,0 +1,9 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:247 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/0148bd.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/0148bd.wgsl.expected.ir.msl
new file mode 100644
index 0000000..b38060a
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/0148bd.wgsl.expected.ir.msl
@@ -0,0 +1,9 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:247 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/031506.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/031506.wgsl.expected.ir.msl
new file mode 100644
index 0000000..15bb19e
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/031506.wgsl.expected.ir.msl
@@ -0,0 +1,39 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:679 internal compiler error: %b1 = block { # root
+ %arg_0:ptr<handle, texture_storage_2d<r32float, read_write>, read> = var @binding_point(1, 0)
+}
+
+%textureStore_031506 = func():void -> %b2 {
+ %b2 = block {
+ %3:texture_storage_2d<r32float, read_write> = load %arg_0
+ %4:void = textureStore %3, vec2<i32>(1i), vec4<f32>(1.0f)
+ ret
+ }
+}
+%vertex_main = @vertex func():vec4<f32> [@position] -> %b3 {
+ %b3 = block {
+ %6:void = call %textureStore_031506
+ ret vec4<f32>(0.0f)
+ }
+}
+%fragment_main = @fragment func():void -> %b4 {
+ %b4 = block {
+ %8:void = call %textureStore_031506
+ ret
+ }
+}
+%compute_main = @compute @workgroup_size(1, 1, 1) func():void -> %b5 {
+ %b5 = block {
+ %10:void = call %textureStore_031506
+ ret
+ }
+}
+
+invalid access control for storage texture
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/036d0e.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/036d0e.wgsl.expected.ir.msl
new file mode 100644
index 0000000..b1268bd
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/036d0e.wgsl.expected.ir.msl
@@ -0,0 +1,39 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:679 internal compiler error: %b1 = block { # root
+ %arg_0:ptr<handle, texture_storage_3d<rgba8unorm, read_write>, read> = var @binding_point(1, 0)
+}
+
+%textureStore_036d0e = func():void -> %b2 {
+ %b2 = block {
+ %3:texture_storage_3d<rgba8unorm, read_write> = load %arg_0
+ %4:void = textureStore %3, vec3<i32>(1i), vec4<f32>(1.0f)
+ ret
+ }
+}
+%vertex_main = @vertex func():vec4<f32> [@position] -> %b3 {
+ %b3 = block {
+ %6:void = call %textureStore_036d0e
+ ret vec4<f32>(0.0f)
+ }
+}
+%fragment_main = @fragment func():void -> %b4 {
+ %b4 = block {
+ %8:void = call %textureStore_036d0e
+ ret
+ }
+}
+%compute_main = @compute @workgroup_size(1, 1, 1) func():void -> %b5 {
+ %b5 = block {
+ %10:void = call %textureStore_036d0e
+ ret
+ }
+}
+
+invalid access control for storage texture
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/03e7a0.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/03e7a0.wgsl.expected.ir.msl
new file mode 100644
index 0000000..8cfecbb
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/03e7a0.wgsl.expected.ir.msl
@@ -0,0 +1,39 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:679 internal compiler error: %b1 = block { # root
+ %arg_0:ptr<handle, texture_storage_2d<rgba16uint, read_write>, read> = var @binding_point(1, 0)
+}
+
+%textureStore_03e7a0 = func():void -> %b2 {
+ %b2 = block {
+ %3:texture_storage_2d<rgba16uint, read_write> = load %arg_0
+ %4:void = textureStore %3, vec2<i32>(1i), vec4<u32>(1u)
+ ret
+ }
+}
+%vertex_main = @vertex func():vec4<f32> [@position] -> %b3 {
+ %b3 = block {
+ %6:void = call %textureStore_03e7a0
+ ret vec4<f32>(0.0f)
+ }
+}
+%fragment_main = @fragment func():void -> %b4 {
+ %b4 = block {
+ %8:void = call %textureStore_03e7a0
+ ret
+ }
+}
+%compute_main = @compute @workgroup_size(1, 1, 1) func():void -> %b5 {
+ %b5 = block {
+ %10:void = call %textureStore_03e7a0
+ ret
+ }
+}
+
+invalid access control for storage texture
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/042b06.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/042b06.wgsl.expected.ir.msl
new file mode 100644
index 0000000..ab7624d
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/042b06.wgsl.expected.ir.msl
@@ -0,0 +1,39 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:679 internal compiler error: %b1 = block { # root
+ %arg_0:ptr<handle, texture_storage_2d_array<rgba8snorm, read_write>, read> = var @binding_point(1, 0)
+}
+
+%textureStore_042b06 = func():void -> %b2 {
+ %b2 = block {
+ %3:texture_storage_2d_array<rgba8snorm, read_write> = load %arg_0
+ %4:void = textureStore %3, vec2<u32>(1u), 1u, vec4<f32>(1.0f)
+ ret
+ }
+}
+%vertex_main = @vertex func():vec4<f32> [@position] -> %b3 {
+ %b3 = block {
+ %6:void = call %textureStore_042b06
+ ret vec4<f32>(0.0f)
+ }
+}
+%fragment_main = @fragment func():void -> %b4 {
+ %b4 = block {
+ %8:void = call %textureStore_042b06
+ ret
+ }
+}
+%compute_main = @compute @workgroup_size(1, 1, 1) func():void -> %b5 {
+ %b5 = block {
+ %10:void = call %textureStore_042b06
+ ret
+ }
+}
+
+invalid access control for storage texture
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/052a4e.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/052a4e.wgsl.expected.ir.msl
new file mode 100644
index 0000000..d93e560
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/052a4e.wgsl.expected.ir.msl
@@ -0,0 +1,39 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:679 internal compiler error: %b1 = block { # root
+ %arg_0:ptr<handle, texture_storage_1d<rgba8unorm, read_write>, read> = var @binding_point(1, 0)
+}
+
+%textureStore_052a4e = func():void -> %b2 {
+ %b2 = block {
+ %3:texture_storage_1d<rgba8unorm, read_write> = load %arg_0
+ %4:void = textureStore %3, 1u, vec4<f32>(1.0f)
+ ret
+ }
+}
+%vertex_main = @vertex func():vec4<f32> [@position] -> %b3 {
+ %b3 = block {
+ %6:void = call %textureStore_052a4e
+ ret vec4<f32>(0.0f)
+ }
+}
+%fragment_main = @fragment func():void -> %b4 {
+ %b4 = block {
+ %8:void = call %textureStore_052a4e
+ ret
+ }
+}
+%compute_main = @compute @workgroup_size(1, 1, 1) func():void -> %b5 {
+ %b5 = block {
+ %10:void = call %textureStore_052a4e
+ ret
+ }
+}
+
+invalid access control for storage texture
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/053664.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/053664.wgsl.expected.ir.msl
new file mode 100644
index 0000000..0d4921d
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/053664.wgsl.expected.ir.msl
@@ -0,0 +1,39 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:679 internal compiler error: %b1 = block { # root
+ %arg_0:ptr<handle, texture_storage_2d_array<rgba32float, read_write>, read> = var @binding_point(1, 0)
+}
+
+%textureStore_053664 = func():void -> %b2 {
+ %b2 = block {
+ %3:texture_storage_2d_array<rgba32float, read_write> = load %arg_0
+ %4:void = textureStore %3, vec2<i32>(1i), 1i, vec4<f32>(1.0f)
+ ret
+ }
+}
+%vertex_main = @vertex func():vec4<f32> [@position] -> %b3 {
+ %b3 = block {
+ %6:void = call %textureStore_053664
+ ret vec4<f32>(0.0f)
+ }
+}
+%fragment_main = @fragment func():void -> %b4 {
+ %b4 = block {
+ %8:void = call %textureStore_053664
+ ret
+ }
+}
+%compute_main = @compute @workgroup_size(1, 1, 1) func():void -> %b5 {
+ %b5 = block {
+ %10:void = call %textureStore_053664
+ ret
+ }
+}
+
+invalid access control for storage texture
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/05ce15.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/05ce15.wgsl.expected.ir.msl
new file mode 100644
index 0000000..b38060a
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/05ce15.wgsl.expected.ir.msl
@@ -0,0 +1,9 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:247 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/064c7f.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/064c7f.wgsl.expected.ir.msl
new file mode 100644
index 0000000..b38060a
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/064c7f.wgsl.expected.ir.msl
@@ -0,0 +1,9 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:247 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/068641.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/068641.wgsl.expected.ir.msl
new file mode 100644
index 0000000..b38060a
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/068641.wgsl.expected.ir.msl
@@ -0,0 +1,9 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:247 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/06e49c.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/06e49c.wgsl.expected.ir.msl
new file mode 100644
index 0000000..b38060a
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/06e49c.wgsl.expected.ir.msl
@@ -0,0 +1,9 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:247 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/07548b.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/07548b.wgsl.expected.ir.msl
new file mode 100644
index 0000000..b38060a
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/07548b.wgsl.expected.ir.msl
@@ -0,0 +1,9 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:247 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/09e4d5.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/09e4d5.wgsl.expected.ir.msl
new file mode 100644
index 0000000..d833050
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/09e4d5.wgsl.expected.ir.msl
@@ -0,0 +1,39 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:679 internal compiler error: %b1 = block { # root
+ %arg_0:ptr<handle, texture_storage_1d<bgra8unorm, read_write>, read> = var @binding_point(1, 0)
+}
+
+%textureStore_09e4d5 = func():void -> %b2 {
+ %b2 = block {
+ %3:texture_storage_1d<bgra8unorm, read_write> = load %arg_0
+ %4:void = textureStore %3, 1u, vec4<f32>(1.0f)
+ ret
+ }
+}
+%vertex_main = @vertex func():vec4<f32> [@position] -> %b3 {
+ %b3 = block {
+ %6:void = call %textureStore_09e4d5
+ ret vec4<f32>(0.0f)
+ }
+}
+%fragment_main = @fragment func():void -> %b4 {
+ %b4 = block {
+ %8:void = call %textureStore_09e4d5
+ ret
+ }
+}
+%compute_main = @compute @workgroup_size(1, 1, 1) func():void -> %b5 {
+ %b5 = block {
+ %10:void = call %textureStore_09e4d5
+ ret
+ }
+}
+
+invalid access control for storage texture
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/0a1a79.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/0a1a79.wgsl.expected.ir.msl
new file mode 100644
index 0000000..b38060a
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/0a1a79.wgsl.expected.ir.msl
@@ -0,0 +1,9 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:247 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/0ade9a.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/0ade9a.wgsl.expected.ir.msl
new file mode 100644
index 0000000..4b85db4
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/0ade9a.wgsl.expected.ir.msl
@@ -0,0 +1,39 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:679 internal compiler error: %b1 = block { # root
+ %arg_0:ptr<handle, texture_storage_2d_array<rg32uint, read_write>, read> = var @binding_point(1, 0)
+}
+
+%textureStore_0ade9a = func():void -> %b2 {
+ %b2 = block {
+ %3:texture_storage_2d_array<rg32uint, read_write> = load %arg_0
+ %4:void = textureStore %3, vec2<u32>(1u), 1u, vec4<u32>(1u)
+ ret
+ }
+}
+%vertex_main = @vertex func():vec4<f32> [@position] -> %b3 {
+ %b3 = block {
+ %6:void = call %textureStore_0ade9a
+ ret vec4<f32>(0.0f)
+ }
+}
+%fragment_main = @fragment func():void -> %b4 {
+ %b4 = block {
+ %8:void = call %textureStore_0ade9a
+ ret
+ }
+}
+%compute_main = @compute @workgroup_size(1, 1, 1) func():void -> %b5 {
+ %b5 = block {
+ %10:void = call %textureStore_0ade9a
+ ret
+ }
+}
+
+invalid access control for storage texture
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/0af6b5.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/0af6b5.wgsl.expected.ir.msl
new file mode 100644
index 0000000..b38060a
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/0af6b5.wgsl.expected.ir.msl
@@ -0,0 +1,9 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:247 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/0c3dff.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/0c3dff.wgsl.expected.ir.msl
new file mode 100644
index 0000000..b38060a
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/0c3dff.wgsl.expected.ir.msl
@@ -0,0 +1,9 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:247 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/0cc825.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/0cc825.wgsl.expected.ir.msl
new file mode 100644
index 0000000..b38060a
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/0cc825.wgsl.expected.ir.msl
@@ -0,0 +1,9 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:247 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/0ff97a.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/0ff97a.wgsl.expected.ir.msl
new file mode 100644
index 0000000..56dd9d2
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/0ff97a.wgsl.expected.ir.msl
@@ -0,0 +1,39 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:679 internal compiler error: %b1 = block { # root
+ %arg_0:ptr<handle, texture_storage_2d_array<r32float, read_write>, read> = var @binding_point(1, 0)
+}
+
+%textureStore_0ff97a = func():void -> %b2 {
+ %b2 = block {
+ %3:texture_storage_2d_array<r32float, read_write> = load %arg_0
+ %4:void = textureStore %3, vec2<u32>(1u), 1u, vec4<f32>(1.0f)
+ ret
+ }
+}
+%vertex_main = @vertex func():vec4<f32> [@position] -> %b3 {
+ %b3 = block {
+ %6:void = call %textureStore_0ff97a
+ ret vec4<f32>(0.0f)
+ }
+}
+%fragment_main = @fragment func():void -> %b4 {
+ %b4 = block {
+ %8:void = call %textureStore_0ff97a
+ ret
+ }
+}
+%compute_main = @compute @workgroup_size(1, 1, 1) func():void -> %b5 {
+ %b5 = block {
+ %10:void = call %textureStore_0ff97a
+ ret
+ }
+}
+
+invalid access control for storage texture
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/101325.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/101325.wgsl.expected.ir.msl
new file mode 100644
index 0000000..2440d4f
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/101325.wgsl.expected.ir.msl
@@ -0,0 +1,39 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:679 internal compiler error: %b1 = block { # root
+ %arg_0:ptr<handle, texture_storage_3d<rgba16uint, read_write>, read> = var @binding_point(1, 0)
+}
+
+%textureStore_101325 = func():void -> %b2 {
+ %b2 = block {
+ %3:texture_storage_3d<rgba16uint, read_write> = load %arg_0
+ %4:void = textureStore %3, vec3<u32>(1u), vec4<u32>(1u)
+ ret
+ }
+}
+%vertex_main = @vertex func():vec4<f32> [@position] -> %b3 {
+ %b3 = block {
+ %6:void = call %textureStore_101325
+ ret vec4<f32>(0.0f)
+ }
+}
+%fragment_main = @fragment func():void -> %b4 {
+ %b4 = block {
+ %8:void = call %textureStore_101325
+ ret
+ }
+}
+%compute_main = @compute @workgroup_size(1, 1, 1) func():void -> %b5 {
+ %b5 = block {
+ %10:void = call %textureStore_101325
+ ret
+ }
+}
+
+invalid access control for storage texture
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/102722.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/102722.wgsl.expected.ir.msl
new file mode 100644
index 0000000..b38060a
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/102722.wgsl.expected.ir.msl
@@ -0,0 +1,9 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:247 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/145061.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/145061.wgsl.expected.ir.msl
new file mode 100644
index 0000000..6ee77af
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/145061.wgsl.expected.ir.msl
@@ -0,0 +1,39 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:679 internal compiler error: %b1 = block { # root
+ %arg_0:ptr<handle, texture_storage_2d<rgba16uint, read_write>, read> = var @binding_point(1, 0)
+}
+
+%textureStore_145061 = func():void -> %b2 {
+ %b2 = block {
+ %3:texture_storage_2d<rgba16uint, read_write> = load %arg_0
+ %4:void = textureStore %3, vec2<u32>(1u), vec4<u32>(1u)
+ ret
+ }
+}
+%vertex_main = @vertex func():vec4<f32> [@position] -> %b3 {
+ %b3 = block {
+ %6:void = call %textureStore_145061
+ ret vec4<f32>(0.0f)
+ }
+}
+%fragment_main = @fragment func():void -> %b4 {
+ %b4 = block {
+ %8:void = call %textureStore_145061
+ ret
+ }
+}
+%compute_main = @compute @workgroup_size(1, 1, 1) func():void -> %b5 {
+ %b5 = block {
+ %10:void = call %textureStore_145061
+ ret
+ }
+}
+
+invalid access control for storage texture
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/158cf0.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/158cf0.wgsl.expected.ir.msl
new file mode 100644
index 0000000..b38060a
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/158cf0.wgsl.expected.ir.msl
@@ -0,0 +1,9 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:247 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/178e69.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/178e69.wgsl.expected.ir.msl
new file mode 100644
index 0000000..78c153d
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/178e69.wgsl.expected.ir.msl
@@ -0,0 +1,39 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:679 internal compiler error: %b1 = block { # root
+ %arg_0:ptr<handle, texture_storage_1d<bgra8unorm, read_write>, read> = var @binding_point(1, 0)
+}
+
+%textureStore_178e69 = func():void -> %b2 {
+ %b2 = block {
+ %3:texture_storage_1d<bgra8unorm, read_write> = load %arg_0
+ %4:void = textureStore %3, 1i, vec4<f32>(1.0f)
+ ret
+ }
+}
+%vertex_main = @vertex func():vec4<f32> [@position] -> %b3 {
+ %b3 = block {
+ %6:void = call %textureStore_178e69
+ ret vec4<f32>(0.0f)
+ }
+}
+%fragment_main = @fragment func():void -> %b4 {
+ %b4 = block {
+ %8:void = call %textureStore_178e69
+ ret
+ }
+}
+%compute_main = @compute @workgroup_size(1, 1, 1) func():void -> %b5 {
+ %b5 = block {
+ %10:void = call %textureStore_178e69
+ ret
+ }
+}
+
+invalid access control for storage texture
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/1839f2.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/1839f2.wgsl.expected.ir.msl
new file mode 100644
index 0000000..b38060a
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/1839f2.wgsl.expected.ir.msl
@@ -0,0 +1,9 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:247 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/195d1b.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/195d1b.wgsl.expected.ir.msl
new file mode 100644
index 0000000..f2f2ad2
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/195d1b.wgsl.expected.ir.msl
@@ -0,0 +1,39 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:679 internal compiler error: %b1 = block { # root
+ %arg_0:ptr<handle, texture_storage_3d<rgba32float, read_write>, read> = var @binding_point(1, 0)
+}
+
+%textureStore_195d1b = func():void -> %b2 {
+ %b2 = block {
+ %3:texture_storage_3d<rgba32float, read_write> = load %arg_0
+ %4:void = textureStore %3, vec3<u32>(1u), vec4<f32>(1.0f)
+ ret
+ }
+}
+%vertex_main = @vertex func():vec4<f32> [@position] -> %b3 {
+ %b3 = block {
+ %6:void = call %textureStore_195d1b
+ ret vec4<f32>(0.0f)
+ }
+}
+%fragment_main = @fragment func():void -> %b4 {
+ %b4 = block {
+ %8:void = call %textureStore_195d1b
+ ret
+ }
+}
+%compute_main = @compute @workgroup_size(1, 1, 1) func():void -> %b5 {
+ %b5 = block {
+ %10:void = call %textureStore_195d1b
+ ret
+ }
+}
+
+invalid access control for storage texture
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/197637.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/197637.wgsl.expected.ir.msl
new file mode 100644
index 0000000..7cf5366
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/197637.wgsl.expected.ir.msl
@@ -0,0 +1,39 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:679 internal compiler error: %b1 = block { # root
+ %arg_0:ptr<handle, texture_storage_1d<rgba32float, read_write>, read> = var @binding_point(1, 0)
+}
+
+%textureStore_197637 = func():void -> %b2 {
+ %b2 = block {
+ %3:texture_storage_1d<rgba32float, read_write> = load %arg_0
+ %4:void = textureStore %3, 1i, vec4<f32>(1.0f)
+ ret
+ }
+}
+%vertex_main = @vertex func():vec4<f32> [@position] -> %b3 {
+ %b3 = block {
+ %6:void = call %textureStore_197637
+ ret vec4<f32>(0.0f)
+ }
+}
+%fragment_main = @fragment func():void -> %b4 {
+ %b4 = block {
+ %8:void = call %textureStore_197637
+ ret
+ }
+}
+%compute_main = @compute @workgroup_size(1, 1, 1) func():void -> %b5 {
+ %b5 = block {
+ %10:void = call %textureStore_197637
+ ret
+ }
+}
+
+invalid access control for storage texture
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/1a6c0b.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/1a6c0b.wgsl.expected.ir.msl
new file mode 100644
index 0000000..7ed6e30
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/1a6c0b.wgsl.expected.ir.msl
@@ -0,0 +1,39 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:679 internal compiler error: %b1 = block { # root
+ %arg_0:ptr<handle, texture_storage_2d_array<rg32sint, read_write>, read> = var @binding_point(1, 0)
+}
+
+%textureStore_1a6c0b = func():void -> %b2 {
+ %b2 = block {
+ %3:texture_storage_2d_array<rg32sint, read_write> = load %arg_0
+ %4:void = textureStore %3, vec2<u32>(1u), 1u, vec4<i32>(1i)
+ ret
+ }
+}
+%vertex_main = @vertex func():vec4<f32> [@position] -> %b3 {
+ %b3 = block {
+ %6:void = call %textureStore_1a6c0b
+ ret vec4<f32>(0.0f)
+ }
+}
+%fragment_main = @fragment func():void -> %b4 {
+ %b4 = block {
+ %8:void = call %textureStore_1a6c0b
+ ret
+ }
+}
+%compute_main = @compute @workgroup_size(1, 1, 1) func():void -> %b5 {
+ %b5 = block {
+ %10:void = call %textureStore_1a6c0b
+ ret
+ }
+}
+
+invalid access control for storage texture
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/1a7d35.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/1a7d35.wgsl.expected.ir.msl
new file mode 100644
index 0000000..b38060a
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/1a7d35.wgsl.expected.ir.msl
@@ -0,0 +1,9 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:247 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/1af236.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/1af236.wgsl.expected.ir.msl
new file mode 100644
index 0000000..b905817
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/1af236.wgsl.expected.ir.msl
@@ -0,0 +1,39 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:679 internal compiler error: %b1 = block { # root
+ %arg_0:ptr<handle, texture_storage_2d_array<rgba16float, read_write>, read> = var @binding_point(1, 0)
+}
+
+%textureStore_1af236 = func():void -> %b2 {
+ %b2 = block {
+ %3:texture_storage_2d_array<rgba16float, read_write> = load %arg_0
+ %4:void = textureStore %3, vec2<i32>(1i), 1i, vec4<f32>(1.0f)
+ ret
+ }
+}
+%vertex_main = @vertex func():vec4<f32> [@position] -> %b3 {
+ %b3 = block {
+ %6:void = call %textureStore_1af236
+ ret vec4<f32>(0.0f)
+ }
+}
+%fragment_main = @fragment func():void -> %b4 {
+ %b4 = block {
+ %8:void = call %textureStore_1af236
+ ret
+ }
+}
+%compute_main = @compute @workgroup_size(1, 1, 1) func():void -> %b5 {
+ %b5 = block {
+ %10:void = call %textureStore_1af236
+ ret
+ }
+}
+
+invalid access control for storage texture
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/1bbd08.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/1bbd08.wgsl.expected.ir.msl
new file mode 100644
index 0000000..b38060a
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/1bbd08.wgsl.expected.ir.msl
@@ -0,0 +1,9 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:247 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/1c02e7.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/1c02e7.wgsl.expected.ir.msl
new file mode 100644
index 0000000..b38060a
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/1c02e7.wgsl.expected.ir.msl
@@ -0,0 +1,9 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:247 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/1dc954.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/1dc954.wgsl.expected.ir.msl
new file mode 100644
index 0000000..b38060a
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/1dc954.wgsl.expected.ir.msl
@@ -0,0 +1,9 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:247 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/1e20f2.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/1e20f2.wgsl.expected.ir.msl
new file mode 100644
index 0000000..b38060a
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/1e20f2.wgsl.expected.ir.msl
@@ -0,0 +1,9 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:247 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/1e9fbd.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/1e9fbd.wgsl.expected.ir.msl
new file mode 100644
index 0000000..67e38b7
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/1e9fbd.wgsl.expected.ir.msl
@@ -0,0 +1,39 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:679 internal compiler error: %b1 = block { # root
+ %arg_0:ptr<handle, texture_storage_2d_array<r32sint, read_write>, read> = var @binding_point(1, 0)
+}
+
+%textureStore_1e9fbd = func():void -> %b2 {
+ %b2 = block {
+ %3:texture_storage_2d_array<r32sint, read_write> = load %arg_0
+ %4:void = textureStore %3, vec2<u32>(1u), 1i, vec4<i32>(1i)
+ ret
+ }
+}
+%vertex_main = @vertex func():vec4<f32> [@position] -> %b3 {
+ %b3 = block {
+ %6:void = call %textureStore_1e9fbd
+ ret vec4<f32>(0.0f)
+ }
+}
+%fragment_main = @fragment func():void -> %b4 {
+ %b4 = block {
+ %8:void = call %textureStore_1e9fbd
+ ret
+ }
+}
+%compute_main = @compute @workgroup_size(1, 1, 1) func():void -> %b5 {
+ %b5 = block {
+ %10:void = call %textureStore_1e9fbd
+ ret
+ }
+}
+
+invalid access control for storage texture
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/1efc36.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/1efc36.wgsl.expected.ir.msl
new file mode 100644
index 0000000..b38060a
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/1efc36.wgsl.expected.ir.msl
@@ -0,0 +1,9 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:247 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/1f1ef8.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/1f1ef8.wgsl.expected.ir.msl
new file mode 100644
index 0000000..b38060a
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/1f1ef8.wgsl.expected.ir.msl
@@ -0,0 +1,9 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:247 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/1fef04.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/1fef04.wgsl.expected.ir.msl
new file mode 100644
index 0000000..cfa3e02
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/1fef04.wgsl.expected.ir.msl
@@ -0,0 +1,39 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:679 internal compiler error: %b1 = block { # root
+ %arg_0:ptr<handle, texture_storage_1d<r32sint, read_write>, read> = var @binding_point(1, 0)
+}
+
+%textureStore_1fef04 = func():void -> %b2 {
+ %b2 = block {
+ %3:texture_storage_1d<r32sint, read_write> = load %arg_0
+ %4:void = textureStore %3, 1u, vec4<i32>(1i)
+ ret
+ }
+}
+%vertex_main = @vertex func():vec4<f32> [@position] -> %b3 {
+ %b3 = block {
+ %6:void = call %textureStore_1fef04
+ ret vec4<f32>(0.0f)
+ }
+}
+%fragment_main = @fragment func():void -> %b4 {
+ %b4 = block {
+ %8:void = call %textureStore_1fef04
+ ret
+ }
+}
+%compute_main = @compute @workgroup_size(1, 1, 1) func():void -> %b5 {
+ %b5 = block {
+ %10:void = call %textureStore_1fef04
+ ret
+ }
+}
+
+invalid access control for storage texture
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/2046db.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/2046db.wgsl.expected.ir.msl
new file mode 100644
index 0000000..bf37743
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/2046db.wgsl.expected.ir.msl
@@ -0,0 +1,39 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:679 internal compiler error: %b1 = block { # root
+ %arg_0:ptr<handle, texture_storage_2d_array<rgba16float, read_write>, read> = var @binding_point(1, 0)
+}
+
+%textureStore_2046db = func():void -> %b2 {
+ %b2 = block {
+ %3:texture_storage_2d_array<rgba16float, read_write> = load %arg_0
+ %4:void = textureStore %3, vec2<u32>(1u), 1i, vec4<f32>(1.0f)
+ ret
+ }
+}
+%vertex_main = @vertex func():vec4<f32> [@position] -> %b3 {
+ %b3 = block {
+ %6:void = call %textureStore_2046db
+ ret vec4<f32>(0.0f)
+ }
+}
+%fragment_main = @fragment func():void -> %b4 {
+ %b4 = block {
+ %8:void = call %textureStore_2046db
+ ret
+ }
+}
+%compute_main = @compute @workgroup_size(1, 1, 1) func():void -> %b5 {
+ %b5 = block {
+ %10:void = call %textureStore_2046db
+ ret
+ }
+}
+
+invalid access control for storage texture
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/207fdd.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/207fdd.wgsl.expected.ir.msl
new file mode 100644
index 0000000..b38060a
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/207fdd.wgsl.expected.ir.msl
@@ -0,0 +1,9 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:247 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/2173fd.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/2173fd.wgsl.expected.ir.msl
new file mode 100644
index 0000000..51e9bde
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/2173fd.wgsl.expected.ir.msl
@@ -0,0 +1,39 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:679 internal compiler error: %b1 = block { # root
+ %arg_0:ptr<handle, texture_storage_1d<rgba32uint, read_write>, read> = var @binding_point(1, 0)
+}
+
+%textureStore_2173fd = func():void -> %b2 {
+ %b2 = block {
+ %3:texture_storage_1d<rgba32uint, read_write> = load %arg_0
+ %4:void = textureStore %3, 1u, vec4<u32>(1u)
+ ret
+ }
+}
+%vertex_main = @vertex func():vec4<f32> [@position] -> %b3 {
+ %b3 = block {
+ %6:void = call %textureStore_2173fd
+ ret vec4<f32>(0.0f)
+ }
+}
+%fragment_main = @fragment func():void -> %b4 {
+ %b4 = block {
+ %8:void = call %textureStore_2173fd
+ ret
+ }
+}
+%compute_main = @compute @workgroup_size(1, 1, 1) func():void -> %b5 {
+ %b5 = block {
+ %10:void = call %textureStore_2173fd
+ ret
+ }
+}
+
+invalid access control for storage texture
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/22d955.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/22d955.wgsl.expected.ir.msl
new file mode 100644
index 0000000..b38060a
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/22d955.wgsl.expected.ir.msl
@@ -0,0 +1,9 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:247 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/22f045.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/22f045.wgsl.expected.ir.msl
new file mode 100644
index 0000000..b38060a
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/22f045.wgsl.expected.ir.msl
@@ -0,0 +1,9 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:247 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/2383fc.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/2383fc.wgsl.expected.ir.msl
new file mode 100644
index 0000000..b38060a
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/2383fc.wgsl.expected.ir.msl
@@ -0,0 +1,9 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:247 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/24e6b7.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/24e6b7.wgsl.expected.ir.msl
new file mode 100644
index 0000000..adbab21
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/24e6b7.wgsl.expected.ir.msl
@@ -0,0 +1,39 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:679 internal compiler error: %b1 = block { # root
+ %arg_0:ptr<handle, texture_storage_3d<r32sint, read_write>, read> = var @binding_point(1, 0)
+}
+
+%textureStore_24e6b7 = func():void -> %b2 {
+ %b2 = block {
+ %3:texture_storage_3d<r32sint, read_write> = load %arg_0
+ %4:void = textureStore %3, vec3<i32>(1i), vec4<i32>(1i)
+ ret
+ }
+}
+%vertex_main = @vertex func():vec4<f32> [@position] -> %b3 {
+ %b3 = block {
+ %6:void = call %textureStore_24e6b7
+ ret vec4<f32>(0.0f)
+ }
+}
+%fragment_main = @fragment func():void -> %b4 {
+ %b4 = block {
+ %8:void = call %textureStore_24e6b7
+ ret
+ }
+}
+%compute_main = @compute @workgroup_size(1, 1, 1) func():void -> %b5 {
+ %b5 = block {
+ %10:void = call %textureStore_24e6b7
+ ret
+ }
+}
+
+invalid access control for storage texture
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/258ab0.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/258ab0.wgsl.expected.ir.msl
new file mode 100644
index 0000000..b38060a
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/258ab0.wgsl.expected.ir.msl
@@ -0,0 +1,9 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:247 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/26a26d.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/26a26d.wgsl.expected.ir.msl
new file mode 100644
index 0000000..7792768
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/26a26d.wgsl.expected.ir.msl
@@ -0,0 +1,39 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:679 internal compiler error: %b1 = block { # root
+ %arg_0:ptr<handle, texture_storage_1d<rgba8snorm, read_write>, read> = var @binding_point(1, 0)
+}
+
+%textureStore_26a26d = func():void -> %b2 {
+ %b2 = block {
+ %3:texture_storage_1d<rgba8snorm, read_write> = load %arg_0
+ %4:void = textureStore %3, 1u, vec4<f32>(1.0f)
+ ret
+ }
+}
+%vertex_main = @vertex func():vec4<f32> [@position] -> %b3 {
+ %b3 = block {
+ %6:void = call %textureStore_26a26d
+ ret vec4<f32>(0.0f)
+ }
+}
+%fragment_main = @fragment func():void -> %b4 {
+ %b4 = block {
+ %8:void = call %textureStore_26a26d
+ ret
+ }
+}
+%compute_main = @compute @workgroup_size(1, 1, 1) func():void -> %b5 {
+ %b5 = block {
+ %10:void = call %textureStore_26a26d
+ ret
+ }
+}
+
+invalid access control for storage texture
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/26bf70.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/26bf70.wgsl.expected.ir.msl
new file mode 100644
index 0000000..b38060a
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/26bf70.wgsl.expected.ir.msl
@@ -0,0 +1,9 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:247 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/27063a.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/27063a.wgsl.expected.ir.msl
new file mode 100644
index 0000000..b38060a
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/27063a.wgsl.expected.ir.msl
@@ -0,0 +1,9 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:247 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/2796b4.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/2796b4.wgsl.expected.ir.msl
new file mode 100644
index 0000000..b38060a
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/2796b4.wgsl.expected.ir.msl
@@ -0,0 +1,9 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:247 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/285218.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/285218.wgsl.expected.ir.msl
new file mode 100644
index 0000000..b38060a
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/285218.wgsl.expected.ir.msl
@@ -0,0 +1,9 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:247 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/28a7ec.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/28a7ec.wgsl.expected.ir.msl
new file mode 100644
index 0000000..b38060a
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/28a7ec.wgsl.expected.ir.msl
@@ -0,0 +1,9 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:247 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/28e109.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/28e109.wgsl.expected.ir.msl
new file mode 100644
index 0000000..76e21d6
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/28e109.wgsl.expected.ir.msl
@@ -0,0 +1,39 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:679 internal compiler error: %b1 = block { # root
+ %arg_0:ptr<handle, texture_storage_2d<rgba8sint, read_write>, read> = var @binding_point(1, 0)
+}
+
+%textureStore_28e109 = func():void -> %b2 {
+ %b2 = block {
+ %3:texture_storage_2d<rgba8sint, read_write> = load %arg_0
+ %4:void = textureStore %3, vec2<i32>(1i), vec4<i32>(1i)
+ ret
+ }
+}
+%vertex_main = @vertex func():vec4<f32> [@position] -> %b3 {
+ %b3 = block {
+ %6:void = call %textureStore_28e109
+ ret vec4<f32>(0.0f)
+ }
+}
+%fragment_main = @fragment func():void -> %b4 {
+ %b4 = block {
+ %8:void = call %textureStore_28e109
+ ret
+ }
+}
+%compute_main = @compute @workgroup_size(1, 1, 1) func():void -> %b5 {
+ %b5 = block {
+ %10:void = call %textureStore_28e109
+ ret
+ }
+}
+
+invalid access control for storage texture
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/2a60c9.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/2a60c9.wgsl.expected.ir.msl
new file mode 100644
index 0000000..d17c0a4
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/2a60c9.wgsl.expected.ir.msl
@@ -0,0 +1,39 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:679 internal compiler error: %b1 = block { # root
+ %arg_0:ptr<handle, texture_storage_2d_array<rgba8sint, read_write>, read> = var @binding_point(1, 0)
+}
+
+%textureStore_2a60c9 = func():void -> %b2 {
+ %b2 = block {
+ %3:texture_storage_2d_array<rgba8sint, read_write> = load %arg_0
+ %4:void = textureStore %3, vec2<u32>(1u), 1u, vec4<i32>(1i)
+ ret
+ }
+}
+%vertex_main = @vertex func():vec4<f32> [@position] -> %b3 {
+ %b3 = block {
+ %6:void = call %textureStore_2a60c9
+ ret vec4<f32>(0.0f)
+ }
+}
+%fragment_main = @fragment func():void -> %b4 {
+ %b4 = block {
+ %8:void = call %textureStore_2a60c9
+ ret
+ }
+}
+%compute_main = @compute @workgroup_size(1, 1, 1) func():void -> %b5 {
+ %b5 = block {
+ %10:void = call %textureStore_2a60c9
+ ret
+ }
+}
+
+invalid access control for storage texture
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/2ac6c7.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/2ac6c7.wgsl.expected.ir.msl
new file mode 100644
index 0000000..b38060a
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/2ac6c7.wgsl.expected.ir.msl
@@ -0,0 +1,9 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:247 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/2addd6.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/2addd6.wgsl.expected.ir.msl
new file mode 100644
index 0000000..a6ff53f
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/2addd6.wgsl.expected.ir.msl
@@ -0,0 +1,39 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:679 internal compiler error: %b1 = block { # root
+ %arg_0:ptr<handle, texture_storage_2d_array<rgba8uint, read_write>, read> = var @binding_point(1, 0)
+}
+
+%textureStore_2addd6 = func():void -> %b2 {
+ %b2 = block {
+ %3:texture_storage_2d_array<rgba8uint, read_write> = load %arg_0
+ %4:void = textureStore %3, vec2<u32>(1u), 1u, vec4<u32>(1u)
+ ret
+ }
+}
+%vertex_main = @vertex func():vec4<f32> [@position] -> %b3 {
+ %b3 = block {
+ %6:void = call %textureStore_2addd6
+ ret vec4<f32>(0.0f)
+ }
+}
+%fragment_main = @fragment func():void -> %b4 {
+ %b4 = block {
+ %8:void = call %textureStore_2addd6
+ ret
+ }
+}
+%compute_main = @compute @workgroup_size(1, 1, 1) func():void -> %b5 {
+ %b5 = block {
+ %10:void = call %textureStore_2addd6
+ ret
+ }
+}
+
+invalid access control for storage texture
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/2c76db.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/2c76db.wgsl.expected.ir.msl
new file mode 100644
index 0000000..06cb596
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/2c76db.wgsl.expected.ir.msl
@@ -0,0 +1,39 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:679 internal compiler error: %b1 = block { # root
+ %arg_0:ptr<handle, texture_storage_2d<rgba8snorm, read_write>, read> = var @binding_point(1, 0)
+}
+
+%textureStore_2c76db = func():void -> %b2 {
+ %b2 = block {
+ %3:texture_storage_2d<rgba8snorm, read_write> = load %arg_0
+ %4:void = textureStore %3, vec2<u32>(1u), vec4<f32>(1.0f)
+ ret
+ }
+}
+%vertex_main = @vertex func():vec4<f32> [@position] -> %b3 {
+ %b3 = block {
+ %6:void = call %textureStore_2c76db
+ ret vec4<f32>(0.0f)
+ }
+}
+%fragment_main = @fragment func():void -> %b4 {
+ %b4 = block {
+ %8:void = call %textureStore_2c76db
+ ret
+ }
+}
+%compute_main = @compute @workgroup_size(1, 1, 1) func():void -> %b5 {
+ %b5 = block {
+ %10:void = call %textureStore_2c76db
+ ret
+ }
+}
+
+invalid access control for storage texture
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/2d2835.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/2d2835.wgsl.expected.ir.msl
new file mode 100644
index 0000000..b38060a
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/2d2835.wgsl.expected.ir.msl
@@ -0,0 +1,9 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:247 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/2e4245.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/2e4245.wgsl.expected.ir.msl
new file mode 100644
index 0000000..b38060a
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/2e4245.wgsl.expected.ir.msl
@@ -0,0 +1,9 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:247 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/2e6102.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/2e6102.wgsl.expected.ir.msl
new file mode 100644
index 0000000..b38060a
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/2e6102.wgsl.expected.ir.msl
@@ -0,0 +1,9 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:247 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/2eb2a4.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/2eb2a4.wgsl.expected.ir.msl
new file mode 100644
index 0000000..b38060a
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/2eb2a4.wgsl.expected.ir.msl
@@ -0,0 +1,9 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:247 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/2ed2a3.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/2ed2a3.wgsl.expected.ir.msl
new file mode 100644
index 0000000..b38060a
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/2ed2a3.wgsl.expected.ir.msl
@@ -0,0 +1,9 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:247 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/2f29ea.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/2f29ea.wgsl.expected.ir.msl
new file mode 100644
index 0000000..b8ee715
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/2f29ea.wgsl.expected.ir.msl
@@ -0,0 +1,39 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:679 internal compiler error: %b1 = block { # root
+ %arg_0:ptr<handle, texture_storage_2d<rgba32sint, read_write>, read> = var @binding_point(1, 0)
+}
+
+%textureStore_2f29ea = func():void -> %b2 {
+ %b2 = block {
+ %3:texture_storage_2d<rgba32sint, read_write> = load %arg_0
+ %4:void = textureStore %3, vec2<i32>(1i), vec4<i32>(1i)
+ ret
+ }
+}
+%vertex_main = @vertex func():vec4<f32> [@position] -> %b3 {
+ %b3 = block {
+ %6:void = call %textureStore_2f29ea
+ ret vec4<f32>(0.0f)
+ }
+}
+%fragment_main = @fragment func():void -> %b4 {
+ %b4 = block {
+ %8:void = call %textureStore_2f29ea
+ ret
+ }
+}
+%compute_main = @compute @workgroup_size(1, 1, 1) func():void -> %b5 {
+ %b5 = block {
+ %10:void = call %textureStore_2f29ea
+ ret
+ }
+}
+
+invalid access control for storage texture
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/30b0b0.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/30b0b0.wgsl.expected.ir.msl
new file mode 100644
index 0000000..b38060a
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/30b0b0.wgsl.expected.ir.msl
@@ -0,0 +1,9 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:247 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/312f27.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/312f27.wgsl.expected.ir.msl
new file mode 100644
index 0000000..8d8f0ae
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/312f27.wgsl.expected.ir.msl
@@ -0,0 +1,39 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:679 internal compiler error: %b1 = block { # root
+ %arg_0:ptr<handle, texture_storage_2d_array<r32float, read_write>, read> = var @binding_point(1, 0)
+}
+
+%textureStore_312f27 = func():void -> %b2 {
+ %b2 = block {
+ %3:texture_storage_2d_array<r32float, read_write> = load %arg_0
+ %4:void = textureStore %3, vec2<i32>(1i), 1u, vec4<f32>(1.0f)
+ ret
+ }
+}
+%vertex_main = @vertex func():vec4<f32> [@position] -> %b3 {
+ %b3 = block {
+ %6:void = call %textureStore_312f27
+ ret vec4<f32>(0.0f)
+ }
+}
+%fragment_main = @fragment func():void -> %b4 {
+ %b4 = block {
+ %8:void = call %textureStore_312f27
+ ret
+ }
+}
+%compute_main = @compute @workgroup_size(1, 1, 1) func():void -> %b5 {
+ %b5 = block {
+ %10:void = call %textureStore_312f27
+ ret
+ }
+}
+
+invalid access control for storage texture
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/31745b.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/31745b.wgsl.expected.ir.msl
new file mode 100644
index 0000000..b38060a
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/31745b.wgsl.expected.ir.msl
@@ -0,0 +1,9 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:247 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/319029.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/319029.wgsl.expected.ir.msl
new file mode 100644
index 0000000..b38060a
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/319029.wgsl.expected.ir.msl
@@ -0,0 +1,9 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:247 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/32d3d6.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/32d3d6.wgsl.expected.ir.msl
new file mode 100644
index 0000000..483a7e2
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/32d3d6.wgsl.expected.ir.msl
@@ -0,0 +1,39 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:679 internal compiler error: %b1 = block { # root
+ %arg_0:ptr<handle, texture_storage_1d<r32uint, read_write>, read> = var @binding_point(1, 0)
+}
+
+%textureStore_32d3d6 = func():void -> %b2 {
+ %b2 = block {
+ %3:texture_storage_1d<r32uint, read_write> = load %arg_0
+ %4:void = textureStore %3, 1u, vec4<u32>(1u)
+ ret
+ }
+}
+%vertex_main = @vertex func():vec4<f32> [@position] -> %b3 {
+ %b3 = block {
+ %6:void = call %textureStore_32d3d6
+ ret vec4<f32>(0.0f)
+ }
+}
+%fragment_main = @fragment func():void -> %b4 {
+ %b4 = block {
+ %8:void = call %textureStore_32d3d6
+ ret
+ }
+}
+%compute_main = @compute @workgroup_size(1, 1, 1) func():void -> %b5 {
+ %b5 = block {
+ %10:void = call %textureStore_32d3d6
+ ret
+ }
+}
+
+invalid access control for storage texture
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/32f368.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/32f368.wgsl.expected.ir.msl
new file mode 100644
index 0000000..b38060a
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/32f368.wgsl.expected.ir.msl
@@ -0,0 +1,9 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:247 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/330b7c.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/330b7c.wgsl.expected.ir.msl
new file mode 100644
index 0000000..b38060a
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/330b7c.wgsl.expected.ir.msl
@@ -0,0 +1,9 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:247 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/3310d3.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/3310d3.wgsl.expected.ir.msl
new file mode 100644
index 0000000..100248d
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/3310d3.wgsl.expected.ir.msl
@@ -0,0 +1,39 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:679 internal compiler error: %b1 = block { # root
+ %arg_0:ptr<handle, texture_storage_2d_array<rgba8snorm, read_write>, read> = var @binding_point(1, 0)
+}
+
+%textureStore_3310d3 = func():void -> %b2 {
+ %b2 = block {
+ %3:texture_storage_2d_array<rgba8snorm, read_write> = load %arg_0
+ %4:void = textureStore %3, vec2<i32>(1i), 1i, vec4<f32>(1.0f)
+ ret
+ }
+}
+%vertex_main = @vertex func():vec4<f32> [@position] -> %b3 {
+ %b3 = block {
+ %6:void = call %textureStore_3310d3
+ ret vec4<f32>(0.0f)
+ }
+}
+%fragment_main = @fragment func():void -> %b4 {
+ %b4 = block {
+ %8:void = call %textureStore_3310d3
+ ret
+ }
+}
+%compute_main = @compute @workgroup_size(1, 1, 1) func():void -> %b5 {
+ %b5 = block {
+ %10:void = call %textureStore_3310d3
+ ret
+ }
+}
+
+invalid access control for storage texture
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/331aee.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/331aee.wgsl.expected.ir.msl
new file mode 100644
index 0000000..b38060a
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/331aee.wgsl.expected.ir.msl
@@ -0,0 +1,9 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:247 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/33cec0.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/33cec0.wgsl.expected.ir.msl
new file mode 100644
index 0000000..b38060a
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/33cec0.wgsl.expected.ir.msl
@@ -0,0 +1,9 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:247 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/345332.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/345332.wgsl.expected.ir.msl
new file mode 100644
index 0000000..72c33f8
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/345332.wgsl.expected.ir.msl
@@ -0,0 +1,39 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:679 internal compiler error: %b1 = block { # root
+ %arg_0:ptr<handle, texture_storage_2d<rgba8uint, read_write>, read> = var @binding_point(1, 0)
+}
+
+%textureStore_345332 = func():void -> %b2 {
+ %b2 = block {
+ %3:texture_storage_2d<rgba8uint, read_write> = load %arg_0
+ %4:void = textureStore %3, vec2<u32>(1u), vec4<u32>(1u)
+ ret
+ }
+}
+%vertex_main = @vertex func():vec4<f32> [@position] -> %b3 {
+ %b3 = block {
+ %6:void = call %textureStore_345332
+ ret vec4<f32>(0.0f)
+ }
+}
+%fragment_main = @fragment func():void -> %b4 {
+ %b4 = block {
+ %8:void = call %textureStore_345332
+ ret
+ }
+}
+%compute_main = @compute @workgroup_size(1, 1, 1) func():void -> %b5 {
+ %b5 = block {
+ %10:void = call %textureStore_345332
+ ret
+ }
+}
+
+invalid access control for storage texture
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/37ffd4.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/37ffd4.wgsl.expected.ir.msl
new file mode 100644
index 0000000..b38060a
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/37ffd4.wgsl.expected.ir.msl
@@ -0,0 +1,9 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:247 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/38e8d7.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/38e8d7.wgsl.expected.ir.msl
new file mode 100644
index 0000000..b38060a
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/38e8d7.wgsl.expected.ir.msl
@@ -0,0 +1,9 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:247 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/3a52ac.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/3a52ac.wgsl.expected.ir.msl
new file mode 100644
index 0000000..b38060a
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/3a52ac.wgsl.expected.ir.msl
@@ -0,0 +1,9 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:247 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/3bb7a1.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/3bb7a1.wgsl.expected.ir.msl
new file mode 100644
index 0000000..b38060a
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/3bb7a1.wgsl.expected.ir.msl
@@ -0,0 +1,9 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:247 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/3bec15.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/3bec15.wgsl.expected.ir.msl
new file mode 100644
index 0000000..b38060a
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/3bec15.wgsl.expected.ir.msl
@@ -0,0 +1,9 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:247 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/3c1937.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/3c1937.wgsl.expected.ir.msl
new file mode 100644
index 0000000..b38060a
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/3c1937.wgsl.expected.ir.msl
@@ -0,0 +1,9 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:247 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/3d1ebe.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/3d1ebe.wgsl.expected.ir.msl
new file mode 100644
index 0000000..3578d85
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/3d1ebe.wgsl.expected.ir.msl
@@ -0,0 +1,39 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:679 internal compiler error: %b1 = block { # root
+ %arg_0:ptr<handle, texture_storage_2d<r32float, read_write>, read> = var @binding_point(1, 0)
+}
+
+%textureStore_3d1ebe = func():void -> %b2 {
+ %b2 = block {
+ %3:texture_storage_2d<r32float, read_write> = load %arg_0
+ %4:void = textureStore %3, vec2<u32>(1u), vec4<f32>(1.0f)
+ ret
+ }
+}
+%vertex_main = @vertex func():vec4<f32> [@position] -> %b3 {
+ %b3 = block {
+ %6:void = call %textureStore_3d1ebe
+ ret vec4<f32>(0.0f)
+ }
+}
+%fragment_main = @fragment func():void -> %b4 {
+ %b4 = block {
+ %8:void = call %textureStore_3d1ebe
+ ret
+ }
+}
+%compute_main = @compute @workgroup_size(1, 1, 1) func():void -> %b5 {
+ %b5 = block {
+ %10:void = call %textureStore_3d1ebe
+ ret
+ }
+}
+
+invalid access control for storage texture
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/3d6f01.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/3d6f01.wgsl.expected.ir.msl
new file mode 100644
index 0000000..b38060a
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/3d6f01.wgsl.expected.ir.msl
@@ -0,0 +1,9 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:247 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/3d96a4.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/3d96a4.wgsl.expected.ir.msl
new file mode 100644
index 0000000..4050fe3
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/3d96a4.wgsl.expected.ir.msl
@@ -0,0 +1,39 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:679 internal compiler error: %b1 = block { # root
+ %arg_0:ptr<handle, texture_storage_3d<rgba32sint, read_write>, read> = var @binding_point(1, 0)
+}
+
+%textureStore_3d96a4 = func():void -> %b2 {
+ %b2 = block {
+ %3:texture_storage_3d<rgba32sint, read_write> = load %arg_0
+ %4:void = textureStore %3, vec3<u32>(1u), vec4<i32>(1i)
+ ret
+ }
+}
+%vertex_main = @vertex func():vec4<f32> [@position] -> %b3 {
+ %b3 = block {
+ %6:void = call %textureStore_3d96a4
+ ret vec4<f32>(0.0f)
+ }
+}
+%fragment_main = @fragment func():void -> %b4 {
+ %b4 = block {
+ %8:void = call %textureStore_3d96a4
+ ret
+ }
+}
+%compute_main = @compute @workgroup_size(1, 1, 1) func():void -> %b5 {
+ %b5 = block {
+ %10:void = call %textureStore_3d96a4
+ ret
+ }
+}
+
+invalid access control for storage texture
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/3e0dc4.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/3e0dc4.wgsl.expected.ir.msl
new file mode 100644
index 0000000..ab650d9
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/3e0dc4.wgsl.expected.ir.msl
@@ -0,0 +1,39 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:679 internal compiler error: %b1 = block { # root
+ %arg_0:ptr<handle, texture_storage_2d_array<rg32float, read_write>, read> = var @binding_point(1, 0)
+}
+
+%textureStore_3e0dc4 = func():void -> %b2 {
+ %b2 = block {
+ %3:texture_storage_2d_array<rg32float, read_write> = load %arg_0
+ %4:void = textureStore %3, vec2<i32>(1i), 1u, vec4<f32>(1.0f)
+ ret
+ }
+}
+%vertex_main = @vertex func():vec4<f32> [@position] -> %b3 {
+ %b3 = block {
+ %6:void = call %textureStore_3e0dc4
+ ret vec4<f32>(0.0f)
+ }
+}
+%fragment_main = @fragment func():void -> %b4 {
+ %b4 = block {
+ %8:void = call %textureStore_3e0dc4
+ ret
+ }
+}
+%compute_main = @compute @workgroup_size(1, 1, 1) func():void -> %b5 {
+ %b5 = block {
+ %10:void = call %textureStore_3e0dc4
+ ret
+ }
+}
+
+invalid access control for storage texture
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/3f61ca.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/3f61ca.wgsl.expected.ir.msl
new file mode 100644
index 0000000..0b2137d
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/3f61ca.wgsl.expected.ir.msl
@@ -0,0 +1,39 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:679 internal compiler error: %b1 = block { # root
+ %arg_0:ptr<handle, texture_storage_3d<rgba8snorm, read_write>, read> = var @binding_point(1, 0)
+}
+
+%textureStore_3f61ca = func():void -> %b2 {
+ %b2 = block {
+ %3:texture_storage_3d<rgba8snorm, read_write> = load %arg_0
+ %4:void = textureStore %3, vec3<i32>(1i), vec4<f32>(1.0f)
+ ret
+ }
+}
+%vertex_main = @vertex func():vec4<f32> [@position] -> %b3 {
+ %b3 = block {
+ %6:void = call %textureStore_3f61ca
+ ret vec4<f32>(0.0f)
+ }
+}
+%fragment_main = @fragment func():void -> %b4 {
+ %b4 = block {
+ %8:void = call %textureStore_3f61ca
+ ret
+ }
+}
+%compute_main = @compute @workgroup_size(1, 1, 1) func():void -> %b5 {
+ %b5 = block {
+ %10:void = call %textureStore_3f61ca
+ ret
+ }
+}
+
+invalid access control for storage texture
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/3fb31f.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/3fb31f.wgsl.expected.ir.msl
new file mode 100644
index 0000000..b38060a
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/3fb31f.wgsl.expected.ir.msl
@@ -0,0 +1,9 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:247 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/40c455.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/40c455.wgsl.expected.ir.msl
new file mode 100644
index 0000000..b38060a
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/40c455.wgsl.expected.ir.msl
@@ -0,0 +1,9 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:247 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/4288fc.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/4288fc.wgsl.expected.ir.msl
new file mode 100644
index 0000000..b38060a
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/4288fc.wgsl.expected.ir.msl
@@ -0,0 +1,9 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:247 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/441222.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/441222.wgsl.expected.ir.msl
new file mode 100644
index 0000000..82fc47a
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/441222.wgsl.expected.ir.msl
@@ -0,0 +1,39 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:679 internal compiler error: %b1 = block { # root
+ %arg_0:ptr<handle, texture_storage_2d<rgba32sint, read_write>, read> = var @binding_point(1, 0)
+}
+
+%textureStore_441222 = func():void -> %b2 {
+ %b2 = block {
+ %3:texture_storage_2d<rgba32sint, read_write> = load %arg_0
+ %4:void = textureStore %3, vec2<u32>(1u), vec4<i32>(1i)
+ ret
+ }
+}
+%vertex_main = @vertex func():vec4<f32> [@position] -> %b3 {
+ %b3 = block {
+ %6:void = call %textureStore_441222
+ ret vec4<f32>(0.0f)
+ }
+}
+%fragment_main = @fragment func():void -> %b4 {
+ %b4 = block {
+ %8:void = call %textureStore_441222
+ ret
+ }
+}
+%compute_main = @compute @workgroup_size(1, 1, 1) func():void -> %b5 {
+ %b5 = block {
+ %10:void = call %textureStore_441222
+ ret
+ }
+}
+
+invalid access control for storage texture
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/441ba8.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/441ba8.wgsl.expected.ir.msl
new file mode 100644
index 0000000..b38060a
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/441ba8.wgsl.expected.ir.msl
@@ -0,0 +1,9 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:247 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/4483e7.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/4483e7.wgsl.expected.ir.msl
new file mode 100644
index 0000000..ba001c3
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/4483e7.wgsl.expected.ir.msl
@@ -0,0 +1,39 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:679 internal compiler error: %b1 = block { # root
+ %arg_0:ptr<handle, texture_storage_1d<rgba32sint, read_write>, read> = var @binding_point(1, 0)
+}
+
+%textureStore_4483e7 = func():void -> %b2 {
+ %b2 = block {
+ %3:texture_storage_1d<rgba32sint, read_write> = load %arg_0
+ %4:void = textureStore %3, 1u, vec4<i32>(1i)
+ ret
+ }
+}
+%vertex_main = @vertex func():vec4<f32> [@position] -> %b3 {
+ %b3 = block {
+ %6:void = call %textureStore_4483e7
+ ret vec4<f32>(0.0f)
+ }
+}
+%fragment_main = @fragment func():void -> %b4 {
+ %b4 = block {
+ %8:void = call %textureStore_4483e7
+ ret
+ }
+}
+%compute_main = @compute @workgroup_size(1, 1, 1) func():void -> %b5 {
+ %b5 = block {
+ %10:void = call %textureStore_4483e7
+ ret
+ }
+}
+
+invalid access control for storage texture
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/44b372.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/44b372.wgsl.expected.ir.msl
new file mode 100644
index 0000000..e7e7125
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/44b372.wgsl.expected.ir.msl
@@ -0,0 +1,39 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:679 internal compiler error: %b1 = block { # root
+ %arg_0:ptr<handle, texture_storage_2d<rgba16sint, read_write>, read> = var @binding_point(1, 0)
+}
+
+%textureStore_44b372 = func():void -> %b2 {
+ %b2 = block {
+ %3:texture_storage_2d<rgba16sint, read_write> = load %arg_0
+ %4:void = textureStore %3, vec2<i32>(1i), vec4<i32>(1i)
+ ret
+ }
+}
+%vertex_main = @vertex func():vec4<f32> [@position] -> %b3 {
+ %b3 = block {
+ %6:void = call %textureStore_44b372
+ ret vec4<f32>(0.0f)
+ }
+}
+%fragment_main = @fragment func():void -> %b4 {
+ %b4 = block {
+ %8:void = call %textureStore_44b372
+ ret
+ }
+}
+%compute_main = @compute @workgroup_size(1, 1, 1) func():void -> %b5 {
+ %b5 = block {
+ %10:void = call %textureStore_44b372
+ ret
+ }
+}
+
+invalid access control for storage texture
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/44daa7.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/44daa7.wgsl.expected.ir.msl
new file mode 100644
index 0000000..b38060a
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/44daa7.wgsl.expected.ir.msl
@@ -0,0 +1,9 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:247 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/473ead.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/473ead.wgsl.expected.ir.msl
new file mode 100644
index 0000000..ad609f1
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/473ead.wgsl.expected.ir.msl
@@ -0,0 +1,39 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:679 internal compiler error: %b1 = block { # root
+ %arg_0:ptr<handle, texture_storage_3d<rg32uint, read_write>, read> = var @binding_point(1, 0)
+}
+
+%textureStore_473ead = func():void -> %b2 {
+ %b2 = block {
+ %3:texture_storage_3d<rg32uint, read_write> = load %arg_0
+ %4:void = textureStore %3, vec3<u32>(1u), vec4<u32>(1u)
+ ret
+ }
+}
+%vertex_main = @vertex func():vec4<f32> [@position] -> %b3 {
+ %b3 = block {
+ %6:void = call %textureStore_473ead
+ ret vec4<f32>(0.0f)
+ }
+}
+%fragment_main = @fragment func():void -> %b4 {
+ %b4 = block {
+ %8:void = call %textureStore_473ead
+ ret
+ }
+}
+%compute_main = @compute @workgroup_size(1, 1, 1) func():void -> %b5 {
+ %b5 = block {
+ %10:void = call %textureStore_473ead
+ ret
+ }
+}
+
+invalid access control for storage texture
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/47bd70.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/47bd70.wgsl.expected.ir.msl
new file mode 100644
index 0000000..96547df
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/47bd70.wgsl.expected.ir.msl
@@ -0,0 +1,39 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:679 internal compiler error: %b1 = block { # root
+ %arg_0:ptr<handle, texture_storage_2d<rgba8unorm, read_write>, read> = var @binding_point(1, 0)
+}
+
+%textureStore_47bd70 = func():void -> %b2 {
+ %b2 = block {
+ %3:texture_storage_2d<rgba8unorm, read_write> = load %arg_0
+ %4:void = textureStore %3, vec2<u32>(1u), vec4<f32>(1.0f)
+ ret
+ }
+}
+%vertex_main = @vertex func():vec4<f32> [@position] -> %b3 {
+ %b3 = block {
+ %6:void = call %textureStore_47bd70
+ ret vec4<f32>(0.0f)
+ }
+}
+%fragment_main = @fragment func():void -> %b4 {
+ %b4 = block {
+ %8:void = call %textureStore_47bd70
+ ret
+ }
+}
+%compute_main = @compute @workgroup_size(1, 1, 1) func():void -> %b5 {
+ %b5 = block {
+ %10:void = call %textureStore_47bd70
+ ret
+ }
+}
+
+invalid access control for storage texture
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/486500.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/486500.wgsl.expected.ir.msl
new file mode 100644
index 0000000..b38060a
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/486500.wgsl.expected.ir.msl
@@ -0,0 +1,9 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:247 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/48cb56.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/48cb56.wgsl.expected.ir.msl
new file mode 100644
index 0000000..7bbb672
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/48cb56.wgsl.expected.ir.msl
@@ -0,0 +1,39 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:679 internal compiler error: %b1 = block { # root
+ %arg_0:ptr<handle, texture_storage_2d_array<rgba16sint, read_write>, read> = var @binding_point(1, 0)
+}
+
+%textureStore_48cb56 = func():void -> %b2 {
+ %b2 = block {
+ %3:texture_storage_2d_array<rgba16sint, read_write> = load %arg_0
+ %4:void = textureStore %3, vec2<u32>(1u), 1u, vec4<i32>(1i)
+ ret
+ }
+}
+%vertex_main = @vertex func():vec4<f32> [@position] -> %b3 {
+ %b3 = block {
+ %6:void = call %textureStore_48cb56
+ ret vec4<f32>(0.0f)
+ }
+}
+%fragment_main = @fragment func():void -> %b4 {
+ %b4 = block {
+ %8:void = call %textureStore_48cb56
+ ret
+ }
+}
+%compute_main = @compute @workgroup_size(1, 1, 1) func():void -> %b5 {
+ %b5 = block {
+ %10:void = call %textureStore_48cb56
+ ret
+ }
+}
+
+invalid access control for storage texture
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/4bf1fd.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/4bf1fd.wgsl.expected.ir.msl
new file mode 100644
index 0000000..8384c97
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/4bf1fd.wgsl.expected.ir.msl
@@ -0,0 +1,39 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:679 internal compiler error: %b1 = block { # root
+ %arg_0:ptr<handle, texture_storage_2d<r32uint, read_write>, read> = var @binding_point(1, 0)
+}
+
+%textureStore_4bf1fd = func():void -> %b2 {
+ %b2 = block {
+ %3:texture_storage_2d<r32uint, read_write> = load %arg_0
+ %4:void = textureStore %3, vec2<u32>(1u), vec4<u32>(1u)
+ ret
+ }
+}
+%vertex_main = @vertex func():vec4<f32> [@position] -> %b3 {
+ %b3 = block {
+ %6:void = call %textureStore_4bf1fd
+ ret vec4<f32>(0.0f)
+ }
+}
+%fragment_main = @fragment func():void -> %b4 {
+ %b4 = block {
+ %8:void = call %textureStore_4bf1fd
+ ret
+ }
+}
+%compute_main = @compute @workgroup_size(1, 1, 1) func():void -> %b5 {
+ %b5 = block {
+ %10:void = call %textureStore_4bf1fd
+ ret
+ }
+}
+
+invalid access control for storage texture
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/4c454f.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/4c454f.wgsl.expected.ir.msl
new file mode 100644
index 0000000..b38060a
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/4c454f.wgsl.expected.ir.msl
@@ -0,0 +1,9 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:247 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/4c76b7.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/4c76b7.wgsl.expected.ir.msl
new file mode 100644
index 0000000..3eaf12b
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/4c76b7.wgsl.expected.ir.msl
@@ -0,0 +1,39 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:679 internal compiler error: %b1 = block { # root
+ %arg_0:ptr<handle, texture_storage_2d_array<bgra8unorm, read_write>, read> = var @binding_point(1, 0)
+}
+
+%textureStore_4c76b7 = func():void -> %b2 {
+ %b2 = block {
+ %3:texture_storage_2d_array<bgra8unorm, read_write> = load %arg_0
+ %4:void = textureStore %3, vec2<u32>(1u), 1i, vec4<f32>(1.0f)
+ ret
+ }
+}
+%vertex_main = @vertex func():vec4<f32> [@position] -> %b3 {
+ %b3 = block {
+ %6:void = call %textureStore_4c76b7
+ ret vec4<f32>(0.0f)
+ }
+}
+%fragment_main = @fragment func():void -> %b4 {
+ %b4 = block {
+ %8:void = call %textureStore_4c76b7
+ ret
+ }
+}
+%compute_main = @compute @workgroup_size(1, 1, 1) func():void -> %b5 {
+ %b5 = block {
+ %10:void = call %textureStore_4c76b7
+ ret
+ }
+}
+
+invalid access control for storage texture
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/4cce74.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/4cce74.wgsl.expected.ir.msl
new file mode 100644
index 0000000..c9e6352
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/4cce74.wgsl.expected.ir.msl
@@ -0,0 +1,39 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:679 internal compiler error: %b1 = block { # root
+ %arg_0:ptr<handle, texture_storage_1d<rg32uint, read_write>, read> = var @binding_point(1, 0)
+}
+
+%textureStore_4cce74 = func():void -> %b2 {
+ %b2 = block {
+ %3:texture_storage_1d<rg32uint, read_write> = load %arg_0
+ %4:void = textureStore %3, 1i, vec4<u32>(1u)
+ ret
+ }
+}
+%vertex_main = @vertex func():vec4<f32> [@position] -> %b3 {
+ %b3 = block {
+ %6:void = call %textureStore_4cce74
+ ret vec4<f32>(0.0f)
+ }
+}
+%fragment_main = @fragment func():void -> %b4 {
+ %b4 = block {
+ %8:void = call %textureStore_4cce74
+ ret
+ }
+}
+%compute_main = @compute @workgroup_size(1, 1, 1) func():void -> %b5 {
+ %b5 = block {
+ %10:void = call %textureStore_4cce74
+ ret
+ }
+}
+
+invalid access control for storage texture
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/4d359d.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/4d359d.wgsl.expected.ir.msl
new file mode 100644
index 0000000..b38060a
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/4d359d.wgsl.expected.ir.msl
@@ -0,0 +1,9 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:247 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/4ddf52.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/4ddf52.wgsl.expected.ir.msl
new file mode 100644
index 0000000..b2974f0
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/4ddf52.wgsl.expected.ir.msl
@@ -0,0 +1,39 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:679 internal compiler error: %b1 = block { # root
+ %arg_0:ptr<handle, texture_storage_2d<rgba16sint, read_write>, read> = var @binding_point(1, 0)
+}
+
+%textureStore_4ddf52 = func():void -> %b2 {
+ %b2 = block {
+ %3:texture_storage_2d<rgba16sint, read_write> = load %arg_0
+ %4:void = textureStore %3, vec2<u32>(1u), vec4<i32>(1i)
+ ret
+ }
+}
+%vertex_main = @vertex func():vec4<f32> [@position] -> %b3 {
+ %b3 = block {
+ %6:void = call %textureStore_4ddf52
+ ret vec4<f32>(0.0f)
+ }
+}
+%fragment_main = @fragment func():void -> %b4 {
+ %b4 = block {
+ %8:void = call %textureStore_4ddf52
+ ret
+ }
+}
+%compute_main = @compute @workgroup_size(1, 1, 1) func():void -> %b5 {
+ %b5 = block {
+ %10:void = call %textureStore_4ddf52
+ ret
+ }
+}
+
+invalid access control for storage texture
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/4e2b3a.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/4e2b3a.wgsl.expected.ir.msl
new file mode 100644
index 0000000..51b2e28
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/4e2b3a.wgsl.expected.ir.msl
@@ -0,0 +1,39 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:679 internal compiler error: %b1 = block { # root
+ %arg_0:ptr<handle, texture_storage_2d_array<rg32float, read_write>, read> = var @binding_point(1, 0)
+}
+
+%textureStore_4e2b3a = func():void -> %b2 {
+ %b2 = block {
+ %3:texture_storage_2d_array<rg32float, read_write> = load %arg_0
+ %4:void = textureStore %3, vec2<i32>(1i), 1i, vec4<f32>(1.0f)
+ ret
+ }
+}
+%vertex_main = @vertex func():vec4<f32> [@position] -> %b3 {
+ %b3 = block {
+ %6:void = call %textureStore_4e2b3a
+ ret vec4<f32>(0.0f)
+ }
+}
+%fragment_main = @fragment func():void -> %b4 {
+ %b4 = block {
+ %8:void = call %textureStore_4e2b3a
+ ret
+ }
+}
+%compute_main = @compute @workgroup_size(1, 1, 1) func():void -> %b5 {
+ %b5 = block {
+ %10:void = call %textureStore_4e2b3a
+ ret
+ }
+}
+
+invalid access control for storage texture
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/4fc057.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/4fc057.wgsl.expected.ir.msl
new file mode 100644
index 0000000..b38060a
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/4fc057.wgsl.expected.ir.msl
@@ -0,0 +1,9 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:247 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/5030f5.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/5030f5.wgsl.expected.ir.msl
new file mode 100644
index 0000000..2ce55eb
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/5030f5.wgsl.expected.ir.msl
@@ -0,0 +1,39 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:679 internal compiler error: %b1 = block { # root
+ %arg_0:ptr<handle, texture_storage_2d_array<bgra8unorm, read_write>, read> = var @binding_point(1, 0)
+}
+
+%textureStore_5030f5 = func():void -> %b2 {
+ %b2 = block {
+ %3:texture_storage_2d_array<bgra8unorm, read_write> = load %arg_0
+ %4:void = textureStore %3, vec2<u32>(1u), 1u, vec4<f32>(1.0f)
+ ret
+ }
+}
+%vertex_main = @vertex func():vec4<f32> [@position] -> %b3 {
+ %b3 = block {
+ %6:void = call %textureStore_5030f5
+ ret vec4<f32>(0.0f)
+ }
+}
+%fragment_main = @fragment func():void -> %b4 {
+ %b4 = block {
+ %8:void = call %textureStore_5030f5
+ ret
+ }
+}
+%compute_main = @compute @workgroup_size(1, 1, 1) func():void -> %b5 {
+ %b5 = block {
+ %10:void = call %textureStore_5030f5
+ ret
+ }
+}
+
+invalid access control for storage texture
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/506a71.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/506a71.wgsl.expected.ir.msl
new file mode 100644
index 0000000..b38060a
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/506a71.wgsl.expected.ir.msl
@@ -0,0 +1,9 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:247 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/51ec82.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/51ec82.wgsl.expected.ir.msl
new file mode 100644
index 0000000..81bead8
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/51ec82.wgsl.expected.ir.msl
@@ -0,0 +1,39 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:679 internal compiler error: %b1 = block { # root
+ %arg_0:ptr<handle, texture_storage_1d<rg32float, read_write>, read> = var @binding_point(1, 0)
+}
+
+%textureStore_51ec82 = func():void -> %b2 {
+ %b2 = block {
+ %3:texture_storage_1d<rg32float, read_write> = load %arg_0
+ %4:void = textureStore %3, 1i, vec4<f32>(1.0f)
+ ret
+ }
+}
+%vertex_main = @vertex func():vec4<f32> [@position] -> %b3 {
+ %b3 = block {
+ %6:void = call %textureStore_51ec82
+ ret vec4<f32>(0.0f)
+ }
+}
+%fragment_main = @fragment func():void -> %b4 {
+ %b4 = block {
+ %8:void = call %textureStore_51ec82
+ ret
+ }
+}
+%compute_main = @compute @workgroup_size(1, 1, 1) func():void -> %b5 {
+ %b5 = block {
+ %10:void = call %textureStore_51ec82
+ ret
+ }
+}
+
+invalid access control for storage texture
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/5246b4.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/5246b4.wgsl.expected.ir.msl
new file mode 100644
index 0000000..00db0e3
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/5246b4.wgsl.expected.ir.msl
@@ -0,0 +1,39 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:679 internal compiler error: %b1 = block { # root
+ %arg_0:ptr<handle, texture_storage_3d<r32uint, read_write>, read> = var @binding_point(1, 0)
+}
+
+%textureStore_5246b4 = func():void -> %b2 {
+ %b2 = block {
+ %3:texture_storage_3d<r32uint, read_write> = load %arg_0
+ %4:void = textureStore %3, vec3<u32>(1u), vec4<u32>(1u)
+ ret
+ }
+}
+%vertex_main = @vertex func():vec4<f32> [@position] -> %b3 {
+ %b3 = block {
+ %6:void = call %textureStore_5246b4
+ ret vec4<f32>(0.0f)
+ }
+}
+%fragment_main = @fragment func():void -> %b4 {
+ %b4 = block {
+ %8:void = call %textureStore_5246b4
+ ret
+ }
+}
+%compute_main = @compute @workgroup_size(1, 1, 1) func():void -> %b5 {
+ %b5 = block {
+ %10:void = call %textureStore_5246b4
+ ret
+ }
+}
+
+invalid access control for storage texture
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/52f503.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/52f503.wgsl.expected.ir.msl
new file mode 100644
index 0000000..b38060a
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/52f503.wgsl.expected.ir.msl
@@ -0,0 +1,9 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:247 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/53a68b.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/53a68b.wgsl.expected.ir.msl
new file mode 100644
index 0000000..c2629d7
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/53a68b.wgsl.expected.ir.msl
@@ -0,0 +1,39 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:679 internal compiler error: %b1 = block { # root
+ %arg_0:ptr<handle, texture_storage_3d<r32uint, read_write>, read> = var @binding_point(1, 0)
+}
+
+%textureStore_53a68b = func():void -> %b2 {
+ %b2 = block {
+ %3:texture_storage_3d<r32uint, read_write> = load %arg_0
+ %4:void = textureStore %3, vec3<i32>(1i), vec4<u32>(1u)
+ ret
+ }
+}
+%vertex_main = @vertex func():vec4<f32> [@position] -> %b3 {
+ %b3 = block {
+ %6:void = call %textureStore_53a68b
+ ret vec4<f32>(0.0f)
+ }
+}
+%fragment_main = @fragment func():void -> %b4 {
+ %b4 = block {
+ %8:void = call %textureStore_53a68b
+ ret
+ }
+}
+%compute_main = @compute @workgroup_size(1, 1, 1) func():void -> %b5 {
+ %b5 = block {
+ %10:void = call %textureStore_53a68b
+ ret
+ }
+}
+
+invalid access control for storage texture
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/5425ab.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/5425ab.wgsl.expected.ir.msl
new file mode 100644
index 0000000..0d19a14
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/5425ab.wgsl.expected.ir.msl
@@ -0,0 +1,39 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:679 internal compiler error: %b1 = block { # root
+ %arg_0:ptr<handle, texture_storage_2d<rg32uint, read_write>, read> = var @binding_point(1, 0)
+}
+
+%textureStore_5425ab = func():void -> %b2 {
+ %b2 = block {
+ %3:texture_storage_2d<rg32uint, read_write> = load %arg_0
+ %4:void = textureStore %3, vec2<i32>(1i), vec4<u32>(1u)
+ ret
+ }
+}
+%vertex_main = @vertex func():vec4<f32> [@position] -> %b3 {
+ %b3 = block {
+ %6:void = call %textureStore_5425ab
+ ret vec4<f32>(0.0f)
+ }
+}
+%fragment_main = @fragment func():void -> %b4 {
+ %b4 = block {
+ %8:void = call %textureStore_5425ab
+ ret
+ }
+}
+%compute_main = @compute @workgroup_size(1, 1, 1) func():void -> %b5 {
+ %b5 = block {
+ %10:void = call %textureStore_5425ab
+ ret
+ }
+}
+
+invalid access control for storage texture
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/544f06.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/544f06.wgsl.expected.ir.msl
new file mode 100644
index 0000000..8d59ecb
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/544f06.wgsl.expected.ir.msl
@@ -0,0 +1,39 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:679 internal compiler error: %b1 = block { # root
+ %arg_0:ptr<handle, texture_storage_2d<bgra8unorm, read_write>, read> = var @binding_point(1, 0)
+}
+
+%textureStore_544f06 = func():void -> %b2 {
+ %b2 = block {
+ %3:texture_storage_2d<bgra8unorm, read_write> = load %arg_0
+ %4:void = textureStore %3, vec2<i32>(1i), vec4<f32>(1.0f)
+ ret
+ }
+}
+%vertex_main = @vertex func():vec4<f32> [@position] -> %b3 {
+ %b3 = block {
+ %6:void = call %textureStore_544f06
+ ret vec4<f32>(0.0f)
+ }
+}
+%fragment_main = @fragment func():void -> %b4 {
+ %b4 = block {
+ %8:void = call %textureStore_544f06
+ ret
+ }
+}
+%compute_main = @compute @workgroup_size(1, 1, 1) func():void -> %b5 {
+ %b5 = block {
+ %10:void = call %textureStore_544f06
+ ret
+ }
+}
+
+invalid access control for storage texture
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/55f9dc.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/55f9dc.wgsl.expected.ir.msl
new file mode 100644
index 0000000..993a3d1
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/55f9dc.wgsl.expected.ir.msl
@@ -0,0 +1,39 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:679 internal compiler error: %b1 = block { # root
+ %arg_0:ptr<handle, texture_storage_2d_array<rgba32float, read_write>, read> = var @binding_point(1, 0)
+}
+
+%textureStore_55f9dc = func():void -> %b2 {
+ %b2 = block {
+ %3:texture_storage_2d_array<rgba32float, read_write> = load %arg_0
+ %4:void = textureStore %3, vec2<u32>(1u), 1u, vec4<f32>(1.0f)
+ ret
+ }
+}
+%vertex_main = @vertex func():vec4<f32> [@position] -> %b3 {
+ %b3 = block {
+ %6:void = call %textureStore_55f9dc
+ ret vec4<f32>(0.0f)
+ }
+}
+%fragment_main = @fragment func():void -> %b4 {
+ %b4 = block {
+ %8:void = call %textureStore_55f9dc
+ ret
+ }
+}
+%compute_main = @compute @workgroup_size(1, 1, 1) func():void -> %b5 {
+ %b5 = block {
+ %10:void = call %textureStore_55f9dc
+ ret
+ }
+}
+
+invalid access control for storage texture
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/574a31.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/574a31.wgsl.expected.ir.msl
new file mode 100644
index 0000000..18bf6e4
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/574a31.wgsl.expected.ir.msl
@@ -0,0 +1,39 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:679 internal compiler error: %b1 = block { # root
+ %arg_0:ptr<handle, texture_storage_1d<rg32sint, read_write>, read> = var @binding_point(1, 0)
+}
+
+%textureStore_574a31 = func():void -> %b2 {
+ %b2 = block {
+ %3:texture_storage_1d<rg32sint, read_write> = load %arg_0
+ %4:void = textureStore %3, 1u, vec4<i32>(1i)
+ ret
+ }
+}
+%vertex_main = @vertex func():vec4<f32> [@position] -> %b3 {
+ %b3 = block {
+ %6:void = call %textureStore_574a31
+ ret vec4<f32>(0.0f)
+ }
+}
+%fragment_main = @fragment func():void -> %b4 {
+ %b4 = block {
+ %8:void = call %textureStore_574a31
+ ret
+ }
+}
+%compute_main = @compute @workgroup_size(1, 1, 1) func():void -> %b5 {
+ %b5 = block {
+ %10:void = call %textureStore_574a31
+ ret
+ }
+}
+
+invalid access control for storage texture
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/579b93.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/579b93.wgsl.expected.ir.msl
new file mode 100644
index 0000000..053a6ef
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/579b93.wgsl.expected.ir.msl
@@ -0,0 +1,39 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:679 internal compiler error: %b1 = block { # root
+ %arg_0:ptr<handle, texture_storage_2d<r32uint, read_write>, read> = var @binding_point(1, 0)
+}
+
+%textureStore_579b93 = func():void -> %b2 {
+ %b2 = block {
+ %3:texture_storage_2d<r32uint, read_write> = load %arg_0
+ %4:void = textureStore %3, vec2<i32>(1i), vec4<u32>(1u)
+ ret
+ }
+}
+%vertex_main = @vertex func():vec4<f32> [@position] -> %b3 {
+ %b3 = block {
+ %6:void = call %textureStore_579b93
+ ret vec4<f32>(0.0f)
+ }
+}
+%fragment_main = @fragment func():void -> %b4 {
+ %b4 = block {
+ %8:void = call %textureStore_579b93
+ ret
+ }
+}
+%compute_main = @compute @workgroup_size(1, 1, 1) func():void -> %b5 {
+ %b5 = block {
+ %10:void = call %textureStore_579b93
+ ret
+ }
+}
+
+invalid access control for storage texture
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/5841f8.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/5841f8.wgsl.expected.ir.msl
new file mode 100644
index 0000000..b38060a
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/5841f8.wgsl.expected.ir.msl
@@ -0,0 +1,9 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:247 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/58fc35.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/58fc35.wgsl.expected.ir.msl
new file mode 100644
index 0000000..b429ace
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/58fc35.wgsl.expected.ir.msl
@@ -0,0 +1,39 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:679 internal compiler error: %b1 = block { # root
+ %arg_0:ptr<handle, texture_storage_1d<rgba16float, read_write>, read> = var @binding_point(1, 0)
+}
+
+%textureStore_58fc35 = func():void -> %b2 {
+ %b2 = block {
+ %3:texture_storage_1d<rgba16float, read_write> = load %arg_0
+ %4:void = textureStore %3, 1u, vec4<f32>(1.0f)
+ ret
+ }
+}
+%vertex_main = @vertex func():vec4<f32> [@position] -> %b3 {
+ %b3 = block {
+ %6:void = call %textureStore_58fc35
+ ret vec4<f32>(0.0f)
+ }
+}
+%fragment_main = @fragment func():void -> %b4 {
+ %b4 = block {
+ %8:void = call %textureStore_58fc35
+ ret
+ }
+}
+%compute_main = @compute @workgroup_size(1, 1, 1) func():void -> %b5 {
+ %b5 = block {
+ %10:void = call %textureStore_58fc35
+ ret
+ }
+}
+
+invalid access control for storage texture
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/59a0ab.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/59a0ab.wgsl.expected.ir.msl
new file mode 100644
index 0000000..b38060a
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/59a0ab.wgsl.expected.ir.msl
@@ -0,0 +1,9 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:247 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/5a2f8f.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/5a2f8f.wgsl.expected.ir.msl
new file mode 100644
index 0000000..b38060a
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/5a2f8f.wgsl.expected.ir.msl
@@ -0,0 +1,9 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:247 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/5a8b41.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/5a8b41.wgsl.expected.ir.msl
new file mode 100644
index 0000000..3c28799
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/5a8b41.wgsl.expected.ir.msl
@@ -0,0 +1,39 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:679 internal compiler error: %b1 = block { # root
+ %arg_0:ptr<handle, texture_storage_2d_array<rgba32float, read_write>, read> = var @binding_point(1, 0)
+}
+
+%textureStore_5a8b41 = func():void -> %b2 {
+ %b2 = block {
+ %3:texture_storage_2d_array<rgba32float, read_write> = load %arg_0
+ %4:void = textureStore %3, vec2<u32>(1u), 1i, vec4<f32>(1.0f)
+ ret
+ }
+}
+%vertex_main = @vertex func():vec4<f32> [@position] -> %b3 {
+ %b3 = block {
+ %6:void = call %textureStore_5a8b41
+ ret vec4<f32>(0.0f)
+ }
+}
+%fragment_main = @fragment func():void -> %b4 {
+ %b4 = block {
+ %8:void = call %textureStore_5a8b41
+ ret
+ }
+}
+%compute_main = @compute @workgroup_size(1, 1, 1) func():void -> %b5 {
+ %b5 = block {
+ %10:void = call %textureStore_5a8b41
+ ret
+ }
+}
+
+invalid access control for storage texture
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/5b17eb.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/5b17eb.wgsl.expected.ir.msl
new file mode 100644
index 0000000..85b9753
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/5b17eb.wgsl.expected.ir.msl
@@ -0,0 +1,39 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:679 internal compiler error: %b1 = block { # root
+ %arg_0:ptr<handle, texture_storage_2d<rg32float, read_write>, read> = var @binding_point(1, 0)
+}
+
+%textureStore_5b17eb = func():void -> %b2 {
+ %b2 = block {
+ %3:texture_storage_2d<rg32float, read_write> = load %arg_0
+ %4:void = textureStore %3, vec2<u32>(1u), vec4<f32>(1.0f)
+ ret
+ }
+}
+%vertex_main = @vertex func():vec4<f32> [@position] -> %b3 {
+ %b3 = block {
+ %6:void = call %textureStore_5b17eb
+ ret vec4<f32>(0.0f)
+ }
+}
+%fragment_main = @fragment func():void -> %b4 {
+ %b4 = block {
+ %8:void = call %textureStore_5b17eb
+ ret
+ }
+}
+%compute_main = @compute @workgroup_size(1, 1, 1) func():void -> %b5 {
+ %b5 = block {
+ %10:void = call %textureStore_5b17eb
+ ret
+ }
+}
+
+invalid access control for storage texture
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/5b4522.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/5b4522.wgsl.expected.ir.msl
new file mode 100644
index 0000000..d3b07ef
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/5b4522.wgsl.expected.ir.msl
@@ -0,0 +1,39 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:679 internal compiler error: %b1 = block { # root
+ %arg_0:ptr<handle, texture_storage_1d<rgba8uint, read_write>, read> = var @binding_point(1, 0)
+}
+
+%textureStore_5b4522 = func():void -> %b2 {
+ %b2 = block {
+ %3:texture_storage_1d<rgba8uint, read_write> = load %arg_0
+ %4:void = textureStore %3, 1u, vec4<u32>(1u)
+ ret
+ }
+}
+%vertex_main = @vertex func():vec4<f32> [@position] -> %b3 {
+ %b3 = block {
+ %6:void = call %textureStore_5b4522
+ ret vec4<f32>(0.0f)
+ }
+}
+%fragment_main = @fragment func():void -> %b4 {
+ %b4 = block {
+ %8:void = call %textureStore_5b4522
+ ret
+ }
+}
+%compute_main = @compute @workgroup_size(1, 1, 1) func():void -> %b5 {
+ %b5 = block {
+ %10:void = call %textureStore_5b4522
+ ret
+ }
+}
+
+invalid access control for storage texture
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/5bc4f3.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/5bc4f3.wgsl.expected.ir.msl
new file mode 100644
index 0000000..b38060a
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/5bc4f3.wgsl.expected.ir.msl
@@ -0,0 +1,9 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:247 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/5ddc61.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/5ddc61.wgsl.expected.ir.msl
new file mode 100644
index 0000000..b38060a
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/5ddc61.wgsl.expected.ir.msl
@@ -0,0 +1,9 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:247 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/5ec6b2.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/5ec6b2.wgsl.expected.ir.msl
new file mode 100644
index 0000000..c860353
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/5ec6b2.wgsl.expected.ir.msl
@@ -0,0 +1,39 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:679 internal compiler error: %b1 = block { # root
+ %arg_0:ptr<handle, texture_storage_3d<r32float, read_write>, read> = var @binding_point(1, 0)
+}
+
+%textureStore_5ec6b2 = func():void -> %b2 {
+ %b2 = block {
+ %3:texture_storage_3d<r32float, read_write> = load %arg_0
+ %4:void = textureStore %3, vec3<u32>(1u), vec4<f32>(1.0f)
+ ret
+ }
+}
+%vertex_main = @vertex func():vec4<f32> [@position] -> %b3 {
+ %b3 = block {
+ %6:void = call %textureStore_5ec6b2
+ ret vec4<f32>(0.0f)
+ }
+}
+%fragment_main = @fragment func():void -> %b4 {
+ %b4 = block {
+ %8:void = call %textureStore_5ec6b2
+ ret
+ }
+}
+%compute_main = @compute @workgroup_size(1, 1, 1) func():void -> %b5 {
+ %b5 = block {
+ %10:void = call %textureStore_5ec6b2
+ ret
+ }
+}
+
+invalid access control for storage texture
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/5ee194.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/5ee194.wgsl.expected.ir.msl
new file mode 100644
index 0000000..e6e9c27
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/5ee194.wgsl.expected.ir.msl
@@ -0,0 +1,39 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:679 internal compiler error: %b1 = block { # root
+ %arg_0:ptr<handle, texture_storage_2d_array<rg32float, read_write>, read> = var @binding_point(1, 0)
+}
+
+%textureStore_5ee194 = func():void -> %b2 {
+ %b2 = block {
+ %3:texture_storage_2d_array<rg32float, read_write> = load %arg_0
+ %4:void = textureStore %3, vec2<u32>(1u), 1u, vec4<f32>(1.0f)
+ ret
+ }
+}
+%vertex_main = @vertex func():vec4<f32> [@position] -> %b3 {
+ %b3 = block {
+ %6:void = call %textureStore_5ee194
+ ret vec4<f32>(0.0f)
+ }
+}
+%fragment_main = @fragment func():void -> %b4 {
+ %b4 = block {
+ %8:void = call %textureStore_5ee194
+ ret
+ }
+}
+%compute_main = @compute @workgroup_size(1, 1, 1) func():void -> %b5 {
+ %b5 = block {
+ %10:void = call %textureStore_5ee194
+ ret
+ }
+}
+
+invalid access control for storage texture
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/5f9a49.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/5f9a49.wgsl.expected.ir.msl
new file mode 100644
index 0000000..b38060a
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/5f9a49.wgsl.expected.ir.msl
@@ -0,0 +1,9 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:247 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/602b5a.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/602b5a.wgsl.expected.ir.msl
new file mode 100644
index 0000000..b38060a
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/602b5a.wgsl.expected.ir.msl
@@ -0,0 +1,9 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:247 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/60975f.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/60975f.wgsl.expected.ir.msl
new file mode 100644
index 0000000..b38060a
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/60975f.wgsl.expected.ir.msl
@@ -0,0 +1,9 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:247 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/614b58.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/614b58.wgsl.expected.ir.msl
new file mode 100644
index 0000000..de399e8
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/614b58.wgsl.expected.ir.msl
@@ -0,0 +1,39 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:679 internal compiler error: %b1 = block { # root
+ %arg_0:ptr<handle, texture_storage_2d_array<r32sint, read_write>, read> = var @binding_point(1, 0)
+}
+
+%textureStore_614b58 = func():void -> %b2 {
+ %b2 = block {
+ %3:texture_storage_2d_array<r32sint, read_write> = load %arg_0
+ %4:void = textureStore %3, vec2<i32>(1i), 1u, vec4<i32>(1i)
+ ret
+ }
+}
+%vertex_main = @vertex func():vec4<f32> [@position] -> %b3 {
+ %b3 = block {
+ %6:void = call %textureStore_614b58
+ ret vec4<f32>(0.0f)
+ }
+}
+%fragment_main = @fragment func():void -> %b4 {
+ %b4 = block {
+ %8:void = call %textureStore_614b58
+ ret
+ }
+}
+%compute_main = @compute @workgroup_size(1, 1, 1) func():void -> %b5 {
+ %b5 = block {
+ %10:void = call %textureStore_614b58
+ ret
+ }
+}
+
+invalid access control for storage texture
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/635584.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/635584.wgsl.expected.ir.msl
new file mode 100644
index 0000000..81d9418
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/635584.wgsl.expected.ir.msl
@@ -0,0 +1,39 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:679 internal compiler error: %b1 = block { # root
+ %arg_0:ptr<handle, texture_storage_1d<rg32float, read_write>, read> = var @binding_point(1, 0)
+}
+
+%textureStore_635584 = func():void -> %b2 {
+ %b2 = block {
+ %3:texture_storage_1d<rg32float, read_write> = load %arg_0
+ %4:void = textureStore %3, 1u, vec4<f32>(1.0f)
+ ret
+ }
+}
+%vertex_main = @vertex func():vec4<f32> [@position] -> %b3 {
+ %b3 = block {
+ %6:void = call %textureStore_635584
+ ret vec4<f32>(0.0f)
+ }
+}
+%fragment_main = @fragment func():void -> %b4 {
+ %b4 = block {
+ %8:void = call %textureStore_635584
+ ret
+ }
+}
+%compute_main = @compute @workgroup_size(1, 1, 1) func():void -> %b5 {
+ %b5 = block {
+ %10:void = call %textureStore_635584
+ ret
+ }
+}
+
+invalid access control for storage texture
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/63f34a.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/63f34a.wgsl.expected.ir.msl
new file mode 100644
index 0000000..9a40a6f
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/63f34a.wgsl.expected.ir.msl
@@ -0,0 +1,39 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:679 internal compiler error: %b1 = block { # root
+ %arg_0:ptr<handle, texture_storage_2d<rg32sint, read_write>, read> = var @binding_point(1, 0)
+}
+
+%textureStore_63f34a = func():void -> %b2 {
+ %b2 = block {
+ %3:texture_storage_2d<rg32sint, read_write> = load %arg_0
+ %4:void = textureStore %3, vec2<u32>(1u), vec4<i32>(1i)
+ ret
+ }
+}
+%vertex_main = @vertex func():vec4<f32> [@position] -> %b3 {
+ %b3 = block {
+ %6:void = call %textureStore_63f34a
+ ret vec4<f32>(0.0f)
+ }
+}
+%fragment_main = @fragment func():void -> %b4 {
+ %b4 = block {
+ %8:void = call %textureStore_63f34a
+ ret
+ }
+}
+%compute_main = @compute @workgroup_size(1, 1, 1) func():void -> %b5 {
+ %b5 = block {
+ %10:void = call %textureStore_63f34a
+ ret
+ }
+}
+
+invalid access control for storage texture
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/646dbc.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/646dbc.wgsl.expected.ir.msl
new file mode 100644
index 0000000..79c08a5
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/646dbc.wgsl.expected.ir.msl
@@ -0,0 +1,39 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:679 internal compiler error: %b1 = block { # root
+ %arg_0:ptr<handle, texture_storage_3d<rgba32sint, read_write>, read> = var @binding_point(1, 0)
+}
+
+%textureStore_646dbc = func():void -> %b2 {
+ %b2 = block {
+ %3:texture_storage_3d<rgba32sint, read_write> = load %arg_0
+ %4:void = textureStore %3, vec3<i32>(1i), vec4<i32>(1i)
+ ret
+ }
+}
+%vertex_main = @vertex func():vec4<f32> [@position] -> %b3 {
+ %b3 = block {
+ %6:void = call %textureStore_646dbc
+ ret vec4<f32>(0.0f)
+ }
+}
+%fragment_main = @fragment func():void -> %b4 {
+ %b4 = block {
+ %8:void = call %textureStore_646dbc
+ ret
+ }
+}
+%compute_main = @compute @workgroup_size(1, 1, 1) func():void -> %b5 {
+ %b5 = block {
+ %10:void = call %textureStore_646dbc
+ ret
+ }
+}
+
+invalid access control for storage texture
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/658a74.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/658a74.wgsl.expected.ir.msl
new file mode 100644
index 0000000..b38060a
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/658a74.wgsl.expected.ir.msl
@@ -0,0 +1,9 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:247 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/65b6aa.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/65b6aa.wgsl.expected.ir.msl
new file mode 100644
index 0000000..87b2ac0
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/65b6aa.wgsl.expected.ir.msl
@@ -0,0 +1,39 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:679 internal compiler error: %b1 = block { # root
+ %arg_0:ptr<handle, texture_storage_1d<rgba8sint, read_write>, read> = var @binding_point(1, 0)
+}
+
+%textureStore_65b6aa = func():void -> %b2 {
+ %b2 = block {
+ %3:texture_storage_1d<rgba8sint, read_write> = load %arg_0
+ %4:void = textureStore %3, 1i, vec4<i32>(1i)
+ ret
+ }
+}
+%vertex_main = @vertex func():vec4<f32> [@position] -> %b3 {
+ %b3 = block {
+ %6:void = call %textureStore_65b6aa
+ ret vec4<f32>(0.0f)
+ }
+}
+%fragment_main = @fragment func():void -> %b4 {
+ %b4 = block {
+ %8:void = call %textureStore_65b6aa
+ ret
+ }
+}
+%compute_main = @compute @workgroup_size(1, 1, 1) func():void -> %b5 {
+ %b5 = block {
+ %10:void = call %textureStore_65b6aa
+ ret
+ }
+}
+
+invalid access control for storage texture
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/682fd6.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/682fd6.wgsl.expected.ir.msl
new file mode 100644
index 0000000..b38060a
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/682fd6.wgsl.expected.ir.msl
@@ -0,0 +1,9 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:247 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/699a1b.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/699a1b.wgsl.expected.ir.msl
new file mode 100644
index 0000000..b38060a
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/699a1b.wgsl.expected.ir.msl
@@ -0,0 +1,9 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:247 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/6b75c3.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/6b75c3.wgsl.expected.ir.msl
new file mode 100644
index 0000000..b38060a
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/6b75c3.wgsl.expected.ir.msl
@@ -0,0 +1,9 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:247 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/6b80d2.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/6b80d2.wgsl.expected.ir.msl
new file mode 100644
index 0000000..b38060a
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/6b80d2.wgsl.expected.ir.msl
@@ -0,0 +1,9 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:247 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/6be9e0.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/6be9e0.wgsl.expected.ir.msl
new file mode 100644
index 0000000..5df92c1
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/6be9e0.wgsl.expected.ir.msl
@@ -0,0 +1,39 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:679 internal compiler error: %b1 = block { # root
+ %arg_0:ptr<handle, texture_storage_3d<r32float, read_write>, read> = var @binding_point(1, 0)
+}
+
+%textureStore_6be9e0 = func():void -> %b2 {
+ %b2 = block {
+ %3:texture_storage_3d<r32float, read_write> = load %arg_0
+ %4:void = textureStore %3, vec3<i32>(1i), vec4<f32>(1.0f)
+ ret
+ }
+}
+%vertex_main = @vertex func():vec4<f32> [@position] -> %b3 {
+ %b3 = block {
+ %6:void = call %textureStore_6be9e0
+ ret vec4<f32>(0.0f)
+ }
+}
+%fragment_main = @fragment func():void -> %b4 {
+ %b4 = block {
+ %8:void = call %textureStore_6be9e0
+ ret
+ }
+}
+%compute_main = @compute @workgroup_size(1, 1, 1) func():void -> %b5 {
+ %b5 = block {
+ %10:void = call %textureStore_6be9e0
+ ret
+ }
+}
+
+invalid access control for storage texture
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/6c4a70.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/6c4a70.wgsl.expected.ir.msl
new file mode 100644
index 0000000..5fee7ba
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/6c4a70.wgsl.expected.ir.msl
@@ -0,0 +1,39 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:679 internal compiler error: %b1 = block { # root
+ %arg_0:ptr<handle, texture_storage_2d<r32sint, read_write>, read> = var @binding_point(1, 0)
+}
+
+%textureStore_6c4a70 = func():void -> %b2 {
+ %b2 = block {
+ %3:texture_storage_2d<r32sint, read_write> = load %arg_0
+ %4:void = textureStore %3, vec2<u32>(1u), vec4<i32>(1i)
+ ret
+ }
+}
+%vertex_main = @vertex func():vec4<f32> [@position] -> %b3 {
+ %b3 = block {
+ %6:void = call %textureStore_6c4a70
+ ret vec4<f32>(0.0f)
+ }
+}
+%fragment_main = @fragment func():void -> %b4 {
+ %b4 = block {
+ %8:void = call %textureStore_6c4a70
+ ret
+ }
+}
+%compute_main = @compute @workgroup_size(1, 1, 1) func():void -> %b5 {
+ %b5 = block {
+ %10:void = call %textureStore_6c4a70
+ ret
+ }
+}
+
+invalid access control for storage texture
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/6cff2e.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/6cff2e.wgsl.expected.ir.msl
new file mode 100644
index 0000000..b38060a
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/6cff2e.wgsl.expected.ir.msl
@@ -0,0 +1,9 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:247 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/6d1809.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/6d1809.wgsl.expected.ir.msl
new file mode 100644
index 0000000..001e5f8
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/6d1809.wgsl.expected.ir.msl
@@ -0,0 +1,39 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:679 internal compiler error: %b1 = block { # root
+ %arg_0:ptr<handle, texture_storage_2d_array<rgba8unorm, read_write>, read> = var @binding_point(1, 0)
+}
+
+%textureStore_6d1809 = func():void -> %b2 {
+ %b2 = block {
+ %3:texture_storage_2d_array<rgba8unorm, read_write> = load %arg_0
+ %4:void = textureStore %3, vec2<u32>(1u), 1u, vec4<f32>(1.0f)
+ ret
+ }
+}
+%vertex_main = @vertex func():vec4<f32> [@position] -> %b3 {
+ %b3 = block {
+ %6:void = call %textureStore_6d1809
+ ret vec4<f32>(0.0f)
+ }
+}
+%fragment_main = @fragment func():void -> %b4 {
+ %b4 = block {
+ %8:void = call %textureStore_6d1809
+ ret
+ }
+}
+%compute_main = @compute @workgroup_size(1, 1, 1) func():void -> %b5 {
+ %b5 = block {
+ %10:void = call %textureStore_6d1809
+ ret
+ }
+}
+
+invalid access control for storage texture
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/6d259f.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/6d259f.wgsl.expected.ir.msl
new file mode 100644
index 0000000..cafe49d
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/6d259f.wgsl.expected.ir.msl
@@ -0,0 +1,39 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:679 internal compiler error: %b1 = block { # root
+ %arg_0:ptr<handle, texture_storage_2d<rgba32uint, read_write>, read> = var @binding_point(1, 0)
+}
+
+%textureStore_6d259f = func():void -> %b2 {
+ %b2 = block {
+ %3:texture_storage_2d<rgba32uint, read_write> = load %arg_0
+ %4:void = textureStore %3, vec2<i32>(1i), vec4<u32>(1u)
+ ret
+ }
+}
+%vertex_main = @vertex func():vec4<f32> [@position] -> %b3 {
+ %b3 = block {
+ %6:void = call %textureStore_6d259f
+ ret vec4<f32>(0.0f)
+ }
+}
+%fragment_main = @fragment func():void -> %b4 {
+ %b4 = block {
+ %8:void = call %textureStore_6d259f
+ ret
+ }
+}
+%compute_main = @compute @workgroup_size(1, 1, 1) func():void -> %b5 {
+ %b5 = block {
+ %10:void = call %textureStore_6d259f
+ ret
+ }
+}
+
+invalid access control for storage texture
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/6da692.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/6da692.wgsl.expected.ir.msl
new file mode 100644
index 0000000..b38060a
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/6da692.wgsl.expected.ir.msl
@@ -0,0 +1,9 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:247 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/6e6cc0.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/6e6cc0.wgsl.expected.ir.msl
new file mode 100644
index 0000000..9cb376c
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/6e6cc0.wgsl.expected.ir.msl
@@ -0,0 +1,39 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:679 internal compiler error: %b1 = block { # root
+ %arg_0:ptr<handle, texture_storage_1d<r32float, read_write>, read> = var @binding_point(1, 0)
+}
+
+%textureStore_6e6cc0 = func():void -> %b2 {
+ %b2 = block {
+ %3:texture_storage_1d<r32float, read_write> = load %arg_0
+ %4:void = textureStore %3, 1i, vec4<f32>(1.0f)
+ ret
+ }
+}
+%vertex_main = @vertex func():vec4<f32> [@position] -> %b3 {
+ %b3 = block {
+ %6:void = call %textureStore_6e6cc0
+ ret vec4<f32>(0.0f)
+ }
+}
+%fragment_main = @fragment func():void -> %b4 {
+ %b4 = block {
+ %8:void = call %textureStore_6e6cc0
+ ret
+ }
+}
+%compute_main = @compute @workgroup_size(1, 1, 1) func():void -> %b5 {
+ %b5 = block {
+ %10:void = call %textureStore_6e6cc0
+ ret
+ }
+}
+
+invalid access control for storage texture
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/6f3542.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/6f3542.wgsl.expected.ir.msl
new file mode 100644
index 0000000..53ffbbf
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/6f3542.wgsl.expected.ir.msl
@@ -0,0 +1,39 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:679 internal compiler error: %b1 = block { # root
+ %arg_0:ptr<handle, texture_storage_3d<rgba16uint, read_write>, read> = var @binding_point(1, 0)
+}
+
+%textureStore_6f3542 = func():void -> %b2 {
+ %b2 = block {
+ %3:texture_storage_3d<rgba16uint, read_write> = load %arg_0
+ %4:void = textureStore %3, vec3<i32>(1i), vec4<u32>(1u)
+ ret
+ }
+}
+%vertex_main = @vertex func():vec4<f32> [@position] -> %b3 {
+ %b3 = block {
+ %6:void = call %textureStore_6f3542
+ ret vec4<f32>(0.0f)
+ }
+}
+%fragment_main = @fragment func():void -> %b4 {
+ %b4 = block {
+ %8:void = call %textureStore_6f3542
+ ret
+ }
+}
+%compute_main = @compute @workgroup_size(1, 1, 1) func():void -> %b5 {
+ %b5 = block {
+ %10:void = call %textureStore_6f3542
+ ret
+ }
+}
+
+invalid access control for storage texture
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/6f8642.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/6f8642.wgsl.expected.ir.msl
new file mode 100644
index 0000000..b38060a
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/6f8642.wgsl.expected.ir.msl
@@ -0,0 +1,9 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:247 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/6fb99b.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/6fb99b.wgsl.expected.ir.msl
new file mode 100644
index 0000000..282de11
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/6fb99b.wgsl.expected.ir.msl
@@ -0,0 +1,39 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:679 internal compiler error: %b1 = block { # root
+ %arg_0:ptr<handle, texture_storage_3d<rgba16float, read_write>, read> = var @binding_point(1, 0)
+}
+
+%textureStore_6fb99b = func():void -> %b2 {
+ %b2 = block {
+ %3:texture_storage_3d<rgba16float, read_write> = load %arg_0
+ %4:void = textureStore %3, vec3<i32>(1i), vec4<f32>(1.0f)
+ ret
+ }
+}
+%vertex_main = @vertex func():vec4<f32> [@position] -> %b3 {
+ %b3 = block {
+ %6:void = call %textureStore_6fb99b
+ ret vec4<f32>(0.0f)
+ }
+}
+%fragment_main = @fragment func():void -> %b4 {
+ %b4 = block {
+ %8:void = call %textureStore_6fb99b
+ ret
+ }
+}
+%compute_main = @compute @workgroup_size(1, 1, 1) func():void -> %b5 {
+ %b5 = block {
+ %10:void = call %textureStore_6fb99b
+ ret
+ }
+}
+
+invalid access control for storage texture
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/704e1f.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/704e1f.wgsl.expected.ir.msl
new file mode 100644
index 0000000..79cf778
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/704e1f.wgsl.expected.ir.msl
@@ -0,0 +1,39 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:679 internal compiler error: %b1 = block { # root
+ %arg_0:ptr<handle, texture_storage_2d_array<rgba8unorm, read_write>, read> = var @binding_point(1, 0)
+}
+
+%textureStore_704e1f = func():void -> %b2 {
+ %b2 = block {
+ %3:texture_storage_2d_array<rgba8unorm, read_write> = load %arg_0
+ %4:void = textureStore %3, vec2<i32>(1i), 1i, vec4<f32>(1.0f)
+ ret
+ }
+}
+%vertex_main = @vertex func():vec4<f32> [@position] -> %b3 {
+ %b3 = block {
+ %6:void = call %textureStore_704e1f
+ ret vec4<f32>(0.0f)
+ }
+}
+%fragment_main = @fragment func():void -> %b4 {
+ %b4 = block {
+ %8:void = call %textureStore_704e1f
+ ret
+ }
+}
+%compute_main = @compute @workgroup_size(1, 1, 1) func():void -> %b5 {
+ %b5 = block {
+ %10:void = call %textureStore_704e1f
+ ret
+ }
+}
+
+invalid access control for storage texture
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/706236.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/706236.wgsl.expected.ir.msl
new file mode 100644
index 0000000..0be32fc
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/706236.wgsl.expected.ir.msl
@@ -0,0 +1,39 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:679 internal compiler error: %b1 = block { # root
+ %arg_0:ptr<handle, texture_storage_1d<rgba8unorm, read_write>, read> = var @binding_point(1, 0)
+}
+
+%textureStore_706236 = func():void -> %b2 {
+ %b2 = block {
+ %3:texture_storage_1d<rgba8unorm, read_write> = load %arg_0
+ %4:void = textureStore %3, 1i, vec4<f32>(1.0f)
+ ret
+ }
+}
+%vertex_main = @vertex func():vec4<f32> [@position] -> %b3 {
+ %b3 = block {
+ %6:void = call %textureStore_706236
+ ret vec4<f32>(0.0f)
+ }
+}
+%fragment_main = @fragment func():void -> %b4 {
+ %b4 = block {
+ %8:void = call %textureStore_706236
+ ret
+ }
+}
+%compute_main = @compute @workgroup_size(1, 1, 1) func():void -> %b5 {
+ %b5 = block {
+ %10:void = call %textureStore_706236
+ ret
+ }
+}
+
+invalid access control for storage texture
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/706560.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/706560.wgsl.expected.ir.msl
new file mode 100644
index 0000000..5639d76
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/706560.wgsl.expected.ir.msl
@@ -0,0 +1,39 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:679 internal compiler error: %b1 = block { # root
+ %arg_0:ptr<handle, texture_storage_2d_array<rgba32uint, read_write>, read> = var @binding_point(1, 0)
+}
+
+%textureStore_706560 = func():void -> %b2 {
+ %b2 = block {
+ %3:texture_storage_2d_array<rgba32uint, read_write> = load %arg_0
+ %4:void = textureStore %3, vec2<i32>(1i), 1u, vec4<u32>(1u)
+ ret
+ }
+}
+%vertex_main = @vertex func():vec4<f32> [@position] -> %b3 {
+ %b3 = block {
+ %6:void = call %textureStore_706560
+ ret vec4<f32>(0.0f)
+ }
+}
+%fragment_main = @fragment func():void -> %b4 {
+ %b4 = block {
+ %8:void = call %textureStore_706560
+ ret
+ }
+}
+%compute_main = @compute @workgroup_size(1, 1, 1) func():void -> %b5 {
+ %b5 = block {
+ %10:void = call %textureStore_706560
+ ret
+ }
+}
+
+invalid access control for storage texture
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/726472.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/726472.wgsl.expected.ir.msl
new file mode 100644
index 0000000..b38060a
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/726472.wgsl.expected.ir.msl
@@ -0,0 +1,9 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:247 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/726d6d.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/726d6d.wgsl.expected.ir.msl
new file mode 100644
index 0000000..a6a028d
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/726d6d.wgsl.expected.ir.msl
@@ -0,0 +1,39 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:679 internal compiler error: %b1 = block { # root
+ %arg_0:ptr<handle, texture_storage_2d<rgba16float, read_write>, read> = var @binding_point(1, 0)
+}
+
+%textureStore_726d6d = func():void -> %b2 {
+ %b2 = block {
+ %3:texture_storage_2d<rgba16float, read_write> = load %arg_0
+ %4:void = textureStore %3, vec2<u32>(1u), vec4<f32>(1.0f)
+ ret
+ }
+}
+%vertex_main = @vertex func():vec4<f32> [@position] -> %b3 {
+ %b3 = block {
+ %6:void = call %textureStore_726d6d
+ ret vec4<f32>(0.0f)
+ }
+}
+%fragment_main = @fragment func():void -> %b4 {
+ %b4 = block {
+ %8:void = call %textureStore_726d6d
+ ret
+ }
+}
+%compute_main = @compute @workgroup_size(1, 1, 1) func():void -> %b5 {
+ %b5 = block {
+ %10:void = call %textureStore_726d6d
+ ret
+ }
+}
+
+invalid access control for storage texture
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/72fa64.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/72fa64.wgsl.expected.ir.msl
new file mode 100644
index 0000000..b38060a
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/72fa64.wgsl.expected.ir.msl
@@ -0,0 +1,9 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:247 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/731349.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/731349.wgsl.expected.ir.msl
new file mode 100644
index 0000000..b38060a
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/731349.wgsl.expected.ir.msl
@@ -0,0 +1,9 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:247 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/73a735.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/73a735.wgsl.expected.ir.msl
new file mode 100644
index 0000000..bfce710
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/73a735.wgsl.expected.ir.msl
@@ -0,0 +1,39 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:679 internal compiler error: %b1 = block { # root
+ %arg_0:ptr<handle, texture_storage_2d_array<rgba8sint, read_write>, read> = var @binding_point(1, 0)
+}
+
+%textureStore_73a735 = func():void -> %b2 {
+ %b2 = block {
+ %3:texture_storage_2d_array<rgba8sint, read_write> = load %arg_0
+ %4:void = textureStore %3, vec2<u32>(1u), 1i, vec4<i32>(1i)
+ ret
+ }
+}
+%vertex_main = @vertex func():vec4<f32> [@position] -> %b3 {
+ %b3 = block {
+ %6:void = call %textureStore_73a735
+ ret vec4<f32>(0.0f)
+ }
+}
+%fragment_main = @fragment func():void -> %b4 {
+ %b4 = block {
+ %8:void = call %textureStore_73a735
+ ret
+ }
+}
+%compute_main = @compute @workgroup_size(1, 1, 1) func():void -> %b5 {
+ %b5 = block {
+ %10:void = call %textureStore_73a735
+ ret
+ }
+}
+
+invalid access control for storage texture
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/73bbbc.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/73bbbc.wgsl.expected.ir.msl
new file mode 100644
index 0000000..b38060a
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/73bbbc.wgsl.expected.ir.msl
@@ -0,0 +1,9 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:247 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/751256.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/751256.wgsl.expected.ir.msl
new file mode 100644
index 0000000..f878265
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/751256.wgsl.expected.ir.msl
@@ -0,0 +1,39 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:679 internal compiler error: %b1 = block { # root
+ %arg_0:ptr<handle, texture_storage_1d<rgba32uint, read_write>, read> = var @binding_point(1, 0)
+}
+
+%textureStore_751256 = func():void -> %b2 {
+ %b2 = block {
+ %3:texture_storage_1d<rgba32uint, read_write> = load %arg_0
+ %4:void = textureStore %3, 1i, vec4<u32>(1u)
+ ret
+ }
+}
+%vertex_main = @vertex func():vec4<f32> [@position] -> %b3 {
+ %b3 = block {
+ %6:void = call %textureStore_751256
+ ret vec4<f32>(0.0f)
+ }
+}
+%fragment_main = @fragment func():void -> %b4 {
+ %b4 = block {
+ %8:void = call %textureStore_751256
+ ret
+ }
+}
+%compute_main = @compute @workgroup_size(1, 1, 1) func():void -> %b5 {
+ %b5 = block {
+ %10:void = call %textureStore_751256
+ ret
+ }
+}
+
+invalid access control for storage texture
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/752da6.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/752da6.wgsl.expected.ir.msl
new file mode 100644
index 0000000..b38060a
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/752da6.wgsl.expected.ir.msl
@@ -0,0 +1,9 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:247 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/75bbd5.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/75bbd5.wgsl.expected.ir.msl
new file mode 100644
index 0000000..2dbe77b
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/75bbd5.wgsl.expected.ir.msl
@@ -0,0 +1,39 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:679 internal compiler error: %b1 = block { # root
+ %arg_0:ptr<handle, texture_storage_2d_array<rg32uint, read_write>, read> = var @binding_point(1, 0)
+}
+
+%textureStore_75bbd5 = func():void -> %b2 {
+ %b2 = block {
+ %3:texture_storage_2d_array<rg32uint, read_write> = load %arg_0
+ %4:void = textureStore %3, vec2<i32>(1i), 1u, vec4<u32>(1u)
+ ret
+ }
+}
+%vertex_main = @vertex func():vec4<f32> [@position] -> %b3 {
+ %b3 = block {
+ %6:void = call %textureStore_75bbd5
+ ret vec4<f32>(0.0f)
+ }
+}
+%fragment_main = @fragment func():void -> %b4 {
+ %b4 = block {
+ %8:void = call %textureStore_75bbd5
+ ret
+ }
+}
+%compute_main = @compute @workgroup_size(1, 1, 1) func():void -> %b5 {
+ %b5 = block {
+ %10:void = call %textureStore_75bbd5
+ ret
+ }
+}
+
+invalid access control for storage texture
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/76affd.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/76affd.wgsl.expected.ir.msl
new file mode 100644
index 0000000..b38060a
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/76affd.wgsl.expected.ir.msl
@@ -0,0 +1,9 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:247 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/7792fa.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/7792fa.wgsl.expected.ir.msl
new file mode 100644
index 0000000..8e5c127
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/7792fa.wgsl.expected.ir.msl
@@ -0,0 +1,39 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:679 internal compiler error: %b1 = block { # root
+ %arg_0:ptr<handle, texture_storage_3d<rg32sint, read_write>, read> = var @binding_point(1, 0)
+}
+
+%textureStore_7792fa = func():void -> %b2 {
+ %b2 = block {
+ %3:texture_storage_3d<rg32sint, read_write> = load %arg_0
+ %4:void = textureStore %3, vec3<u32>(1u), vec4<i32>(1i)
+ ret
+ }
+}
+%vertex_main = @vertex func():vec4<f32> [@position] -> %b3 {
+ %b3 = block {
+ %6:void = call %textureStore_7792fa
+ ret vec4<f32>(0.0f)
+ }
+}
+%fragment_main = @fragment func():void -> %b4 {
+ %b4 = block {
+ %8:void = call %textureStore_7792fa
+ ret
+ }
+}
+%compute_main = @compute @workgroup_size(1, 1, 1) func():void -> %b5 {
+ %b5 = block {
+ %10:void = call %textureStore_7792fa
+ ret
+ }
+}
+
+invalid access control for storage texture
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/779d14.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/779d14.wgsl.expected.ir.msl
new file mode 100644
index 0000000..b38060a
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/779d14.wgsl.expected.ir.msl
@@ -0,0 +1,9 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:247 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/77c0ae.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/77c0ae.wgsl.expected.ir.msl
new file mode 100644
index 0000000..b38060a
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/77c0ae.wgsl.expected.ir.msl
@@ -0,0 +1,9 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:247 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/7b8f86.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/7b8f86.wgsl.expected.ir.msl
new file mode 100644
index 0000000..970103d
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/7b8f86.wgsl.expected.ir.msl
@@ -0,0 +1,39 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:679 internal compiler error: %b1 = block { # root
+ %arg_0:ptr<handle, texture_storage_3d<rg32float, read_write>, read> = var @binding_point(1, 0)
+}
+
+%textureStore_7b8f86 = func():void -> %b2 {
+ %b2 = block {
+ %3:texture_storage_3d<rg32float, read_write> = load %arg_0
+ %4:void = textureStore %3, vec3<u32>(1u), vec4<f32>(1.0f)
+ ret
+ }
+}
+%vertex_main = @vertex func():vec4<f32> [@position] -> %b3 {
+ %b3 = block {
+ %6:void = call %textureStore_7b8f86
+ ret vec4<f32>(0.0f)
+ }
+}
+%fragment_main = @fragment func():void -> %b4 {
+ %b4 = block {
+ %8:void = call %textureStore_7b8f86
+ ret
+ }
+}
+%compute_main = @compute @workgroup_size(1, 1, 1) func():void -> %b5 {
+ %b5 = block {
+ %10:void = call %textureStore_7b8f86
+ ret
+ }
+}
+
+invalid access control for storage texture
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/7bb211.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/7bb211.wgsl.expected.ir.msl
new file mode 100644
index 0000000..b38060a
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/7bb211.wgsl.expected.ir.msl
@@ -0,0 +1,9 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:247 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/7cec8d.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/7cec8d.wgsl.expected.ir.msl
new file mode 100644
index 0000000..b38060a
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/7cec8d.wgsl.expected.ir.msl
@@ -0,0 +1,9 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:247 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/7cf6e7.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/7cf6e7.wgsl.expected.ir.msl
new file mode 100644
index 0000000..b38060a
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/7cf6e7.wgsl.expected.ir.msl
@@ -0,0 +1,9 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:247 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/7d10e0.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/7d10e0.wgsl.expected.ir.msl
new file mode 100644
index 0000000..857872b
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/7d10e0.wgsl.expected.ir.msl
@@ -0,0 +1,39 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:679 internal compiler error: %b1 = block { # root
+ %arg_0:ptr<handle, texture_storage_1d<rgba32float, read_write>, read> = var @binding_point(1, 0)
+}
+
+%textureStore_7d10e0 = func():void -> %b2 {
+ %b2 = block {
+ %3:texture_storage_1d<rgba32float, read_write> = load %arg_0
+ %4:void = textureStore %3, 1u, vec4<f32>(1.0f)
+ ret
+ }
+}
+%vertex_main = @vertex func():vec4<f32> [@position] -> %b3 {
+ %b3 = block {
+ %6:void = call %textureStore_7d10e0
+ ret vec4<f32>(0.0f)
+ }
+}
+%fragment_main = @fragment func():void -> %b4 {
+ %b4 = block {
+ %8:void = call %textureStore_7d10e0
+ ret
+ }
+}
+%compute_main = @compute @workgroup_size(1, 1, 1) func():void -> %b5 {
+ %b5 = block {
+ %10:void = call %textureStore_7d10e0
+ ret
+ }
+}
+
+invalid access control for storage texture
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/7dd042.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/7dd042.wgsl.expected.ir.msl
new file mode 100644
index 0000000..29bb235
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/7dd042.wgsl.expected.ir.msl
@@ -0,0 +1,39 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:679 internal compiler error: %b1 = block { # root
+ %arg_0:ptr<handle, texture_storage_2d_array<rgba16sint, read_write>, read> = var @binding_point(1, 0)
+}
+
+%textureStore_7dd042 = func():void -> %b2 {
+ %b2 = block {
+ %3:texture_storage_2d_array<rgba16sint, read_write> = load %arg_0
+ %4:void = textureStore %3, vec2<i32>(1i), 1i, vec4<i32>(1i)
+ ret
+ }
+}
+%vertex_main = @vertex func():vec4<f32> [@position] -> %b3 {
+ %b3 = block {
+ %6:void = call %textureStore_7dd042
+ ret vec4<f32>(0.0f)
+ }
+}
+%fragment_main = @fragment func():void -> %b4 {
+ %b4 = block {
+ %8:void = call %textureStore_7dd042
+ ret
+ }
+}
+%compute_main = @compute @workgroup_size(1, 1, 1) func():void -> %b5 {
+ %b5 = block {
+ %10:void = call %textureStore_7dd042
+ ret
+ }
+}
+
+invalid access control for storage texture
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/7e787a.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/7e787a.wgsl.expected.ir.msl
new file mode 100644
index 0000000..b93b61c
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/7e787a.wgsl.expected.ir.msl
@@ -0,0 +1,39 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:679 internal compiler error: %b1 = block { # root
+ %arg_0:ptr<handle, texture_storage_3d<rgba32float, read_write>, read> = var @binding_point(1, 0)
+}
+
+%textureStore_7e787a = func():void -> %b2 {
+ %b2 = block {
+ %3:texture_storage_3d<rgba32float, read_write> = load %arg_0
+ %4:void = textureStore %3, vec3<i32>(1i), vec4<f32>(1.0f)
+ ret
+ }
+}
+%vertex_main = @vertex func():vec4<f32> [@position] -> %b3 {
+ %b3 = block {
+ %6:void = call %textureStore_7e787a
+ ret vec4<f32>(0.0f)
+ }
+}
+%fragment_main = @fragment func():void -> %b4 {
+ %b4 = block {
+ %8:void = call %textureStore_7e787a
+ ret
+ }
+}
+%compute_main = @compute @workgroup_size(1, 1, 1) func():void -> %b5 {
+ %b5 = block {
+ %10:void = call %textureStore_7e787a
+ ret
+ }
+}
+
+invalid access control for storage texture
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/7f7fae.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/7f7fae.wgsl.expected.ir.msl
new file mode 100644
index 0000000..b38060a
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/7f7fae.wgsl.expected.ir.msl
@@ -0,0 +1,9 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:247 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/804942.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/804942.wgsl.expected.ir.msl
new file mode 100644
index 0000000..b38060a
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/804942.wgsl.expected.ir.msl
@@ -0,0 +1,9 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:247 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/805dae.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/805dae.wgsl.expected.ir.msl
new file mode 100644
index 0000000..b38060a
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/805dae.wgsl.expected.ir.msl
@@ -0,0 +1,9 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:247 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/80bf1d.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/80bf1d.wgsl.expected.ir.msl
new file mode 100644
index 0000000..7027045
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/80bf1d.wgsl.expected.ir.msl
@@ -0,0 +1,39 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:679 internal compiler error: %b1 = block { # root
+ %arg_0:ptr<handle, texture_storage_2d<rg32sint, read_write>, read> = var @binding_point(1, 0)
+}
+
+%textureStore_80bf1d = func():void -> %b2 {
+ %b2 = block {
+ %3:texture_storage_2d<rg32sint, read_write> = load %arg_0
+ %4:void = textureStore %3, vec2<i32>(1i), vec4<i32>(1i)
+ ret
+ }
+}
+%vertex_main = @vertex func():vec4<f32> [@position] -> %b3 {
+ %b3 = block {
+ %6:void = call %textureStore_80bf1d
+ ret vec4<f32>(0.0f)
+ }
+}
+%fragment_main = @fragment func():void -> %b4 {
+ %b4 = block {
+ %8:void = call %textureStore_80bf1d
+ ret
+ }
+}
+%compute_main = @compute @workgroup_size(1, 1, 1) func():void -> %b5 {
+ %b5 = block {
+ %10:void = call %textureStore_80bf1d
+ ret
+ }
+}
+
+invalid access control for storage texture
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/818df6.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/818df6.wgsl.expected.ir.msl
new file mode 100644
index 0000000..82c9b7f
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/818df6.wgsl.expected.ir.msl
@@ -0,0 +1,39 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:679 internal compiler error: %b1 = block { # root
+ %arg_0:ptr<handle, texture_storage_3d<rgba16float, read_write>, read> = var @binding_point(1, 0)
+}
+
+%textureStore_818df6 = func():void -> %b2 {
+ %b2 = block {
+ %3:texture_storage_3d<rgba16float, read_write> = load %arg_0
+ %4:void = textureStore %3, vec3<u32>(1u), vec4<f32>(1.0f)
+ ret
+ }
+}
+%vertex_main = @vertex func():vec4<f32> [@position] -> %b3 {
+ %b3 = block {
+ %6:void = call %textureStore_818df6
+ ret vec4<f32>(0.0f)
+ }
+}
+%fragment_main = @fragment func():void -> %b4 {
+ %b4 = block {
+ %8:void = call %textureStore_818df6
+ ret
+ }
+}
+%compute_main = @compute @workgroup_size(1, 1, 1) func():void -> %b5 {
+ %b5 = block {
+ %10:void = call %textureStore_818df6
+ ret
+ }
+}
+
+invalid access control for storage texture
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/81ae31.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/81ae31.wgsl.expected.ir.msl
new file mode 100644
index 0000000..d95a491
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/81ae31.wgsl.expected.ir.msl
@@ -0,0 +1,39 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:679 internal compiler error: %b1 = block { # root
+ %arg_0:ptr<handle, texture_storage_2d_array<r32float, read_write>, read> = var @binding_point(1, 0)
+}
+
+%textureStore_81ae31 = func():void -> %b2 {
+ %b2 = block {
+ %3:texture_storage_2d_array<r32float, read_write> = load %arg_0
+ %4:void = textureStore %3, vec2<i32>(1i), 1i, vec4<f32>(1.0f)
+ ret
+ }
+}
+%vertex_main = @vertex func():vec4<f32> [@position] -> %b3 {
+ %b3 = block {
+ %6:void = call %textureStore_81ae31
+ ret vec4<f32>(0.0f)
+ }
+}
+%fragment_main = @fragment func():void -> %b4 {
+ %b4 = block {
+ %8:void = call %textureStore_81ae31
+ ret
+ }
+}
+%compute_main = @compute @workgroup_size(1, 1, 1) func():void -> %b5 {
+ %b5 = block {
+ %10:void = call %textureStore_81ae31
+ ret
+ }
+}
+
+invalid access control for storage texture
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/820272.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/820272.wgsl.expected.ir.msl
new file mode 100644
index 0000000..50ad138
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/820272.wgsl.expected.ir.msl
@@ -0,0 +1,39 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:679 internal compiler error: %b1 = block { # root
+ %arg_0:ptr<handle, texture_storage_2d_array<rg32sint, read_write>, read> = var @binding_point(1, 0)
+}
+
+%textureStore_820272 = func():void -> %b2 {
+ %b2 = block {
+ %3:texture_storage_2d_array<rg32sint, read_write> = load %arg_0
+ %4:void = textureStore %3, vec2<i32>(1i), 1u, vec4<i32>(1i)
+ ret
+ }
+}
+%vertex_main = @vertex func():vec4<f32> [@position] -> %b3 {
+ %b3 = block {
+ %6:void = call %textureStore_820272
+ ret vec4<f32>(0.0f)
+ }
+}
+%fragment_main = @fragment func():void -> %b4 {
+ %b4 = block {
+ %8:void = call %textureStore_820272
+ ret
+ }
+}
+%compute_main = @compute @workgroup_size(1, 1, 1) func():void -> %b5 {
+ %b5 = block {
+ %10:void = call %textureStore_820272
+ ret
+ }
+}
+
+invalid access control for storage texture
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/83bcc1.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/83bcc1.wgsl.expected.ir.msl
new file mode 100644
index 0000000..b38060a
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/83bcc1.wgsl.expected.ir.msl
@@ -0,0 +1,9 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:247 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/84d435.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/84d435.wgsl.expected.ir.msl
new file mode 100644
index 0000000..d8a3f21
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/84d435.wgsl.expected.ir.msl
@@ -0,0 +1,39 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:679 internal compiler error: %b1 = block { # root
+ %arg_0:ptr<handle, texture_storage_2d_array<rg32sint, read_write>, read> = var @binding_point(1, 0)
+}
+
+%textureStore_84d435 = func():void -> %b2 {
+ %b2 = block {
+ %3:texture_storage_2d_array<rg32sint, read_write> = load %arg_0
+ %4:void = textureStore %3, vec2<i32>(1i), 1i, vec4<i32>(1i)
+ ret
+ }
+}
+%vertex_main = @vertex func():vec4<f32> [@position] -> %b3 {
+ %b3 = block {
+ %6:void = call %textureStore_84d435
+ ret vec4<f32>(0.0f)
+ }
+}
+%fragment_main = @fragment func():void -> %b4 {
+ %b4 = block {
+ %8:void = call %textureStore_84d435
+ ret
+ }
+}
+%compute_main = @compute @workgroup_size(1, 1, 1) func():void -> %b5 {
+ %b5 = block {
+ %10:void = call %textureStore_84d435
+ ret
+ }
+}
+
+invalid access control for storage texture
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/84f4f4.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/84f4f4.wgsl.expected.ir.msl
new file mode 100644
index 0000000..ebbe1b5
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/84f4f4.wgsl.expected.ir.msl
@@ -0,0 +1,39 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:679 internal compiler error: %b1 = block { # root
+ %arg_0:ptr<handle, texture_storage_2d_array<rgba16sint, read_write>, read> = var @binding_point(1, 0)
+}
+
+%textureStore_84f4f4 = func():void -> %b2 {
+ %b2 = block {
+ %3:texture_storage_2d_array<rgba16sint, read_write> = load %arg_0
+ %4:void = textureStore %3, vec2<u32>(1u), 1i, vec4<i32>(1i)
+ ret
+ }
+}
+%vertex_main = @vertex func():vec4<f32> [@position] -> %b3 {
+ %b3 = block {
+ %6:void = call %textureStore_84f4f4
+ ret vec4<f32>(0.0f)
+ }
+}
+%fragment_main = @fragment func():void -> %b4 {
+ %b4 = block {
+ %8:void = call %textureStore_84f4f4
+ ret
+ }
+}
+%compute_main = @compute @workgroup_size(1, 1, 1) func():void -> %b5 {
+ %b5 = block {
+ %10:void = call %textureStore_84f4f4
+ ret
+ }
+}
+
+invalid access control for storage texture
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/8676c9.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/8676c9.wgsl.expected.ir.msl
new file mode 100644
index 0000000..f86dee2
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/8676c9.wgsl.expected.ir.msl
@@ -0,0 +1,39 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:679 internal compiler error: %b1 = block { # root
+ %arg_0:ptr<handle, texture_storage_1d<r32uint, read_write>, read> = var @binding_point(1, 0)
+}
+
+%textureStore_8676c9 = func():void -> %b2 {
+ %b2 = block {
+ %3:texture_storage_1d<r32uint, read_write> = load %arg_0
+ %4:void = textureStore %3, 1i, vec4<u32>(1u)
+ ret
+ }
+}
+%vertex_main = @vertex func():vec4<f32> [@position] -> %b3 {
+ %b3 = block {
+ %6:void = call %textureStore_8676c9
+ ret vec4<f32>(0.0f)
+ }
+}
+%fragment_main = @fragment func():void -> %b4 {
+ %b4 = block {
+ %8:void = call %textureStore_8676c9
+ ret
+ }
+}
+%compute_main = @compute @workgroup_size(1, 1, 1) func():void -> %b5 {
+ %b5 = block {
+ %10:void = call %textureStore_8676c9
+ ret
+ }
+}
+
+invalid access control for storage texture
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/86f713.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/86f713.wgsl.expected.ir.msl
new file mode 100644
index 0000000..cb6f11b
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/86f713.wgsl.expected.ir.msl
@@ -0,0 +1,39 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:679 internal compiler error: %b1 = block { # root
+ %arg_0:ptr<handle, texture_storage_3d<rgba16sint, read_write>, read> = var @binding_point(1, 0)
+}
+
+%textureStore_86f713 = func():void -> %b2 {
+ %b2 = block {
+ %3:texture_storage_3d<rgba16sint, read_write> = load %arg_0
+ %4:void = textureStore %3, vec3<i32>(1i), vec4<i32>(1i)
+ ret
+ }
+}
+%vertex_main = @vertex func():vec4<f32> [@position] -> %b3 {
+ %b3 = block {
+ %6:void = call %textureStore_86f713
+ ret vec4<f32>(0.0f)
+ }
+}
+%fragment_main = @fragment func():void -> %b4 {
+ %b4 = block {
+ %8:void = call %textureStore_86f713
+ ret
+ }
+}
+%compute_main = @compute @workgroup_size(1, 1, 1) func():void -> %b5 {
+ %b5 = block {
+ %10:void = call %textureStore_86f713
+ ret
+ }
+}
+
+invalid access control for storage texture
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/872747.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/872747.wgsl.expected.ir.msl
new file mode 100644
index 0000000..b38060a
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/872747.wgsl.expected.ir.msl
@@ -0,0 +1,9 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:247 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/877c92.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/877c92.wgsl.expected.ir.msl
new file mode 100644
index 0000000..a7f2a9d
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/877c92.wgsl.expected.ir.msl
@@ -0,0 +1,39 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:679 internal compiler error: %b1 = block { # root
+ %arg_0:ptr<handle, texture_storage_1d<rgba8snorm, read_write>, read> = var @binding_point(1, 0)
+}
+
+%textureStore_877c92 = func():void -> %b2 {
+ %b2 = block {
+ %3:texture_storage_1d<rgba8snorm, read_write> = load %arg_0
+ %4:void = textureStore %3, 1i, vec4<f32>(1.0f)
+ ret
+ }
+}
+%vertex_main = @vertex func():vec4<f32> [@position] -> %b3 {
+ %b3 = block {
+ %6:void = call %textureStore_877c92
+ ret vec4<f32>(0.0f)
+ }
+}
+%fragment_main = @fragment func():void -> %b4 {
+ %b4 = block {
+ %8:void = call %textureStore_877c92
+ ret
+ }
+}
+%compute_main = @compute @workgroup_size(1, 1, 1) func():void -> %b5 {
+ %b5 = block {
+ %10:void = call %textureStore_877c92
+ ret
+ }
+}
+
+invalid access control for storage texture
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/8815b1.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/8815b1.wgsl.expected.ir.msl
new file mode 100644
index 0000000..a9dee69
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/8815b1.wgsl.expected.ir.msl
@@ -0,0 +1,39 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:679 internal compiler error: %b1 = block { # root
+ %arg_0:ptr<handle, texture_storage_2d_array<rgba16sint, read_write>, read> = var @binding_point(1, 0)
+}
+
+%textureStore_8815b1 = func():void -> %b2 {
+ %b2 = block {
+ %3:texture_storage_2d_array<rgba16sint, read_write> = load %arg_0
+ %4:void = textureStore %3, vec2<i32>(1i), 1u, vec4<i32>(1i)
+ ret
+ }
+}
+%vertex_main = @vertex func():vec4<f32> [@position] -> %b3 {
+ %b3 = block {
+ %6:void = call %textureStore_8815b1
+ ret vec4<f32>(0.0f)
+ }
+}
+%fragment_main = @fragment func():void -> %b4 {
+ %b4 = block {
+ %8:void = call %textureStore_8815b1
+ ret
+ }
+}
+%compute_main = @compute @workgroup_size(1, 1, 1) func():void -> %b5 {
+ %b5 = block {
+ %10:void = call %textureStore_8815b1
+ ret
+ }
+}
+
+invalid access control for storage texture
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/885921.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/885921.wgsl.expected.ir.msl
new file mode 100644
index 0000000..3fe1b69
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/885921.wgsl.expected.ir.msl
@@ -0,0 +1,39 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:679 internal compiler error: %b1 = block { # root
+ %arg_0:ptr<handle, texture_storage_3d<rgba8unorm, read_write>, read> = var @binding_point(1, 0)
+}
+
+%textureStore_885921 = func():void -> %b2 {
+ %b2 = block {
+ %3:texture_storage_3d<rgba8unorm, read_write> = load %arg_0
+ %4:void = textureStore %3, vec3<u32>(1u), vec4<f32>(1.0f)
+ ret
+ }
+}
+%vertex_main = @vertex func():vec4<f32> [@position] -> %b3 {
+ %b3 = block {
+ %6:void = call %textureStore_885921
+ ret vec4<f32>(0.0f)
+ }
+}
+%fragment_main = @fragment func():void -> %b4 {
+ %b4 = block {
+ %8:void = call %textureStore_885921
+ ret
+ }
+}
+%compute_main = @compute @workgroup_size(1, 1, 1) func():void -> %b5 {
+ %b5 = block {
+ %10:void = call %textureStore_885921
+ ret
+ }
+}
+
+invalid access control for storage texture
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/88ce7e.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/88ce7e.wgsl.expected.ir.msl
new file mode 100644
index 0000000..2c3c748
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/88ce7e.wgsl.expected.ir.msl
@@ -0,0 +1,39 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:679 internal compiler error: %b1 = block { # root
+ %arg_0:ptr<handle, texture_storage_3d<rgba8sint, read_write>, read> = var @binding_point(1, 0)
+}
+
+%textureStore_88ce7e = func():void -> %b2 {
+ %b2 = block {
+ %3:texture_storage_3d<rgba8sint, read_write> = load %arg_0
+ %4:void = textureStore %3, vec3<i32>(1i), vec4<i32>(1i)
+ ret
+ }
+}
+%vertex_main = @vertex func():vec4<f32> [@position] -> %b3 {
+ %b3 = block {
+ %6:void = call %textureStore_88ce7e
+ ret vec4<f32>(0.0f)
+ }
+}
+%fragment_main = @fragment func():void -> %b4 {
+ %b4 = block {
+ %8:void = call %textureStore_88ce7e
+ ret
+ }
+}
+%compute_main = @compute @workgroup_size(1, 1, 1) func():void -> %b5 {
+ %b5 = block {
+ %10:void = call %textureStore_88ce7e
+ ret
+ }
+}
+
+invalid access control for storage texture
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/8a16b0.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/8a16b0.wgsl.expected.ir.msl
new file mode 100644
index 0000000..1cf7842
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/8a16b0.wgsl.expected.ir.msl
@@ -0,0 +1,39 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:679 internal compiler error: %b1 = block { # root
+ %arg_0:ptr<handle, texture_storage_2d_array<r32uint, read_write>, read> = var @binding_point(1, 0)
+}
+
+%textureStore_8a16b0 = func():void -> %b2 {
+ %b2 = block {
+ %3:texture_storage_2d_array<r32uint, read_write> = load %arg_0
+ %4:void = textureStore %3, vec2<i32>(1i), 1i, vec4<u32>(1u)
+ ret
+ }
+}
+%vertex_main = @vertex func():vec4<f32> [@position] -> %b3 {
+ %b3 = block {
+ %6:void = call %textureStore_8a16b0
+ ret vec4<f32>(0.0f)
+ }
+}
+%fragment_main = @fragment func():void -> %b4 {
+ %b4 = block {
+ %8:void = call %textureStore_8a16b0
+ ret
+ }
+}
+%compute_main = @compute @workgroup_size(1, 1, 1) func():void -> %b5 {
+ %b5 = block {
+ %10:void = call %textureStore_8a16b0
+ ret
+ }
+}
+
+invalid access control for storage texture
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/8a46ff.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/8a46ff.wgsl.expected.ir.msl
new file mode 100644
index 0000000..38bbef2
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/8a46ff.wgsl.expected.ir.msl
@@ -0,0 +1,39 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:679 internal compiler error: %b1 = block { # root
+ %arg_0:ptr<handle, texture_storage_2d<rgba16float, read_write>, read> = var @binding_point(1, 0)
+}
+
+%textureStore_8a46ff = func():void -> %b2 {
+ %b2 = block {
+ %3:texture_storage_2d<rgba16float, read_write> = load %arg_0
+ %4:void = textureStore %3, vec2<i32>(1i), vec4<f32>(1.0f)
+ ret
+ }
+}
+%vertex_main = @vertex func():vec4<f32> [@position] -> %b3 {
+ %b3 = block {
+ %6:void = call %textureStore_8a46ff
+ ret vec4<f32>(0.0f)
+ }
+}
+%fragment_main = @fragment func():void -> %b4 {
+ %b4 = block {
+ %8:void = call %textureStore_8a46ff
+ ret
+ }
+}
+%compute_main = @compute @workgroup_size(1, 1, 1) func():void -> %b5 {
+ %b5 = block {
+ %10:void = call %textureStore_8a46ff
+ ret
+ }
+}
+
+invalid access control for storage texture
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/8a85b9.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/8a85b9.wgsl.expected.ir.msl
new file mode 100644
index 0000000..51af9f5
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/8a85b9.wgsl.expected.ir.msl
@@ -0,0 +1,39 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:679 internal compiler error: %b1 = block { # root
+ %arg_0:ptr<handle, texture_storage_2d_array<rgba8sint, read_write>, read> = var @binding_point(1, 0)
+}
+
+%textureStore_8a85b9 = func():void -> %b2 {
+ %b2 = block {
+ %3:texture_storage_2d_array<rgba8sint, read_write> = load %arg_0
+ %4:void = textureStore %3, vec2<i32>(1i), 1i, vec4<i32>(1i)
+ ret
+ }
+}
+%vertex_main = @vertex func():vec4<f32> [@position] -> %b3 {
+ %b3 = block {
+ %6:void = call %textureStore_8a85b9
+ ret vec4<f32>(0.0f)
+ }
+}
+%fragment_main = @fragment func():void -> %b4 {
+ %b4 = block {
+ %8:void = call %textureStore_8a85b9
+ ret
+ }
+}
+%compute_main = @compute @workgroup_size(1, 1, 1) func():void -> %b5 {
+ %b5 = block {
+ %10:void = call %textureStore_8a85b9
+ ret
+ }
+}
+
+invalid access control for storage texture
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/8a8681.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/8a8681.wgsl.expected.ir.msl
new file mode 100644
index 0000000..23f9886
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/8a8681.wgsl.expected.ir.msl
@@ -0,0 +1,39 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:679 internal compiler error: %b1 = block { # root
+ %arg_0:ptr<handle, texture_storage_2d<rg32uint, read_write>, read> = var @binding_point(1, 0)
+}
+
+%textureStore_8a8681 = func():void -> %b2 {
+ %b2 = block {
+ %3:texture_storage_2d<rg32uint, read_write> = load %arg_0
+ %4:void = textureStore %3, vec2<u32>(1u), vec4<u32>(1u)
+ ret
+ }
+}
+%vertex_main = @vertex func():vec4<f32> [@position] -> %b3 {
+ %b3 = block {
+ %6:void = call %textureStore_8a8681
+ ret vec4<f32>(0.0f)
+ }
+}
+%fragment_main = @fragment func():void -> %b4 {
+ %b4 = block {
+ %8:void = call %textureStore_8a8681
+ ret
+ }
+}
+%compute_main = @compute @workgroup_size(1, 1, 1) func():void -> %b5 {
+ %b5 = block {
+ %10:void = call %textureStore_8a8681
+ ret
+ }
+}
+
+invalid access control for storage texture
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/8ae0bc.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/8ae0bc.wgsl.expected.ir.msl
new file mode 100644
index 0000000..5d7ba25
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/8ae0bc.wgsl.expected.ir.msl
@@ -0,0 +1,39 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:679 internal compiler error: %b1 = block { # root
+ %arg_0:ptr<handle, texture_storage_2d_array<rgba8snorm, read_write>, read> = var @binding_point(1, 0)
+}
+
+%textureStore_8ae0bc = func():void -> %b2 {
+ %b2 = block {
+ %3:texture_storage_2d_array<rgba8snorm, read_write> = load %arg_0
+ %4:void = textureStore %3, vec2<i32>(1i), 1u, vec4<f32>(1.0f)
+ ret
+ }
+}
+%vertex_main = @vertex func():vec4<f32> [@position] -> %b3 {
+ %b3 = block {
+ %6:void = call %textureStore_8ae0bc
+ ret vec4<f32>(0.0f)
+ }
+}
+%fragment_main = @fragment func():void -> %b4 {
+ %b4 = block {
+ %8:void = call %textureStore_8ae0bc
+ ret
+ }
+}
+%compute_main = @compute @workgroup_size(1, 1, 1) func():void -> %b5 {
+ %b5 = block {
+ %10:void = call %textureStore_8ae0bc
+ ret
+ }
+}
+
+invalid access control for storage texture
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/8b9310.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/8b9310.wgsl.expected.ir.msl
new file mode 100644
index 0000000..b38060a
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/8b9310.wgsl.expected.ir.msl
@@ -0,0 +1,9 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:247 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/8bb287.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/8bb287.wgsl.expected.ir.msl
new file mode 100644
index 0000000..b38060a
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/8bb287.wgsl.expected.ir.msl
@@ -0,0 +1,9 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:247 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/8c76e9.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/8c76e9.wgsl.expected.ir.msl
new file mode 100644
index 0000000..b38060a
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/8c76e9.wgsl.expected.ir.msl
@@ -0,0 +1,9 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:247 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/8cd841.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/8cd841.wgsl.expected.ir.msl
new file mode 100644
index 0000000..1e94cfb
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/8cd841.wgsl.expected.ir.msl
@@ -0,0 +1,39 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:679 internal compiler error: %b1 = block { # root
+ %arg_0:ptr<handle, texture_storage_2d_array<r32uint, read_write>, read> = var @binding_point(1, 0)
+}
+
+%textureStore_8cd841 = func():void -> %b2 {
+ %b2 = block {
+ %3:texture_storage_2d_array<r32uint, read_write> = load %arg_0
+ %4:void = textureStore %3, vec2<i32>(1i), 1u, vec4<u32>(1u)
+ ret
+ }
+}
+%vertex_main = @vertex func():vec4<f32> [@position] -> %b3 {
+ %b3 = block {
+ %6:void = call %textureStore_8cd841
+ ret vec4<f32>(0.0f)
+ }
+}
+%fragment_main = @fragment func():void -> %b4 {
+ %b4 = block {
+ %8:void = call %textureStore_8cd841
+ ret
+ }
+}
+%compute_main = @compute @workgroup_size(1, 1, 1) func():void -> %b5 {
+ %b5 = block {
+ %10:void = call %textureStore_8cd841
+ ret
+ }
+}
+
+invalid access control for storage texture
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/8dc54f.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/8dc54f.wgsl.expected.ir.msl
new file mode 100644
index 0000000..b38060a
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/8dc54f.wgsl.expected.ir.msl
@@ -0,0 +1,9 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:247 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/8e0479.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/8e0479.wgsl.expected.ir.msl
new file mode 100644
index 0000000..b38060a
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/8e0479.wgsl.expected.ir.msl
@@ -0,0 +1,9 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:247 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/8ebdc9.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/8ebdc9.wgsl.expected.ir.msl
new file mode 100644
index 0000000..94187c3
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/8ebdc9.wgsl.expected.ir.msl
@@ -0,0 +1,39 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:679 internal compiler error: %b1 = block { # root
+ %arg_0:ptr<handle, texture_storage_2d_array<rgba16float, read_write>, read> = var @binding_point(1, 0)
+}
+
+%textureStore_8ebdc9 = func():void -> %b2 {
+ %b2 = block {
+ %3:texture_storage_2d_array<rgba16float, read_write> = load %arg_0
+ %4:void = textureStore %3, vec2<u32>(1u), 1u, vec4<f32>(1.0f)
+ ret
+ }
+}
+%vertex_main = @vertex func():vec4<f32> [@position] -> %b3 {
+ %b3 = block {
+ %6:void = call %textureStore_8ebdc9
+ ret vec4<f32>(0.0f)
+ }
+}
+%fragment_main = @fragment func():void -> %b4 {
+ %b4 = block {
+ %8:void = call %textureStore_8ebdc9
+ ret
+ }
+}
+%compute_main = @compute @workgroup_size(1, 1, 1) func():void -> %b5 {
+ %b5 = block {
+ %10:void = call %textureStore_8ebdc9
+ ret
+ }
+}
+
+invalid access control for storage texture
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/8ed9f8.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/8ed9f8.wgsl.expected.ir.msl
new file mode 100644
index 0000000..b38060a
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/8ed9f8.wgsl.expected.ir.msl
@@ -0,0 +1,9 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:247 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/8f71a1.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/8f71a1.wgsl.expected.ir.msl
new file mode 100644
index 0000000..b38060a
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/8f71a1.wgsl.expected.ir.msl
@@ -0,0 +1,9 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:247 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/8ff674.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/8ff674.wgsl.expected.ir.msl
new file mode 100644
index 0000000..b38060a
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/8ff674.wgsl.expected.ir.msl
@@ -0,0 +1,9 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:247 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/90960e.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/90960e.wgsl.expected.ir.msl
new file mode 100644
index 0000000..fa7ab89
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/90960e.wgsl.expected.ir.msl
@@ -0,0 +1,39 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:679 internal compiler error: %b1 = block { # root
+ %arg_0:ptr<handle, texture_storage_1d<rgba16float, read_write>, read> = var @binding_point(1, 0)
+}
+
+%textureStore_90960e = func():void -> %b2 {
+ %b2 = block {
+ %3:texture_storage_1d<rgba16float, read_write> = load %arg_0
+ %4:void = textureStore %3, 1i, vec4<f32>(1.0f)
+ ret
+ }
+}
+%vertex_main = @vertex func():vec4<f32> [@position] -> %b3 {
+ %b3 = block {
+ %6:void = call %textureStore_90960e
+ ret vec4<f32>(0.0f)
+ }
+}
+%fragment_main = @fragment func():void -> %b4 {
+ %b4 = block {
+ %8:void = call %textureStore_90960e
+ ret
+ }
+}
+%compute_main = @compute @workgroup_size(1, 1, 1) func():void -> %b5 {
+ %b5 = block {
+ %10:void = call %textureStore_90960e
+ ret
+ }
+}
+
+invalid access control for storage texture
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/90a553.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/90a553.wgsl.expected.ir.msl
new file mode 100644
index 0000000..bae5da6
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/90a553.wgsl.expected.ir.msl
@@ -0,0 +1,39 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:679 internal compiler error: %b1 = block { # root
+ %arg_0:ptr<handle, texture_storage_2d_array<rgba8sint, read_write>, read> = var @binding_point(1, 0)
+}
+
+%textureStore_90a553 = func():void -> %b2 {
+ %b2 = block {
+ %3:texture_storage_2d_array<rgba8sint, read_write> = load %arg_0
+ %4:void = textureStore %3, vec2<i32>(1i), 1u, vec4<i32>(1i)
+ ret
+ }
+}
+%vertex_main = @vertex func():vec4<f32> [@position] -> %b3 {
+ %b3 = block {
+ %6:void = call %textureStore_90a553
+ ret vec4<f32>(0.0f)
+ }
+}
+%fragment_main = @fragment func():void -> %b4 {
+ %b4 = block {
+ %8:void = call %textureStore_90a553
+ ret
+ }
+}
+%compute_main = @compute @workgroup_size(1, 1, 1) func():void -> %b5 {
+ %b5 = block {
+ %10:void = call %textureStore_90a553
+ ret
+ }
+}
+
+invalid access control for storage texture
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/958353.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/958353.wgsl.expected.ir.msl
new file mode 100644
index 0000000..b38060a
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/958353.wgsl.expected.ir.msl
@@ -0,0 +1,9 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:247 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/959d94.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/959d94.wgsl.expected.ir.msl
new file mode 100644
index 0000000..b38060a
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/959d94.wgsl.expected.ir.msl
@@ -0,0 +1,9 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:247 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/95e452.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/95e452.wgsl.expected.ir.msl
new file mode 100644
index 0000000..b38060a
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/95e452.wgsl.expected.ir.msl
@@ -0,0 +1,9 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:247 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/969534.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/969534.wgsl.expected.ir.msl
new file mode 100644
index 0000000..b38060a
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/969534.wgsl.expected.ir.msl
@@ -0,0 +1,9 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:247 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/976636.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/976636.wgsl.expected.ir.msl
new file mode 100644
index 0000000..6ff9890
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/976636.wgsl.expected.ir.msl
@@ -0,0 +1,39 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:679 internal compiler error: %b1 = block { # root
+ %arg_0:ptr<handle, texture_storage_1d<rgba8sint, read_write>, read> = var @binding_point(1, 0)
+}
+
+%textureStore_976636 = func():void -> %b2 {
+ %b2 = block {
+ %3:texture_storage_1d<rgba8sint, read_write> = load %arg_0
+ %4:void = textureStore %3, 1u, vec4<i32>(1i)
+ ret
+ }
+}
+%vertex_main = @vertex func():vec4<f32> [@position] -> %b3 {
+ %b3 = block {
+ %6:void = call %textureStore_976636
+ ret vec4<f32>(0.0f)
+ }
+}
+%fragment_main = @fragment func():void -> %b4 {
+ %b4 = block {
+ %8:void = call %textureStore_976636
+ ret
+ }
+}
+%compute_main = @compute @workgroup_size(1, 1, 1) func():void -> %b5 {
+ %b5 = block {
+ %10:void = call %textureStore_976636
+ ret
+ }
+}
+
+invalid access control for storage texture
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/9938b7.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/9938b7.wgsl.expected.ir.msl
new file mode 100644
index 0000000..b38060a
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/9938b7.wgsl.expected.ir.msl
@@ -0,0 +1,9 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:247 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/9a3ecc.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/9a3ecc.wgsl.expected.ir.msl
new file mode 100644
index 0000000..b38060a
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/9a3ecc.wgsl.expected.ir.msl
@@ -0,0 +1,9 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:247 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/9aedd3.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/9aedd3.wgsl.expected.ir.msl
new file mode 100644
index 0000000..b38060a
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/9aedd3.wgsl.expected.ir.msl
@@ -0,0 +1,9 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:247 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/9ba5c1.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/9ba5c1.wgsl.expected.ir.msl
new file mode 100644
index 0000000..0dba9af
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/9ba5c1.wgsl.expected.ir.msl
@@ -0,0 +1,39 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:679 internal compiler error: %b1 = block { # root
+ %arg_0:ptr<handle, texture_storage_1d<rgba16uint, read_write>, read> = var @binding_point(1, 0)
+}
+
+%textureStore_9ba5c1 = func():void -> %b2 {
+ %b2 = block {
+ %3:texture_storage_1d<rgba16uint, read_write> = load %arg_0
+ %4:void = textureStore %3, 1u, vec4<u32>(1u)
+ ret
+ }
+}
+%vertex_main = @vertex func():vec4<f32> [@position] -> %b3 {
+ %b3 = block {
+ %6:void = call %textureStore_9ba5c1
+ ret vec4<f32>(0.0f)
+ }
+}
+%fragment_main = @fragment func():void -> %b4 {
+ %b4 = block {
+ %8:void = call %textureStore_9ba5c1
+ ret
+ }
+}
+%compute_main = @compute @workgroup_size(1, 1, 1) func():void -> %b5 {
+ %b5 = block {
+ %10:void = call %textureStore_9ba5c1
+ ret
+ }
+}
+
+invalid access control for storage texture
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/9cea9e.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/9cea9e.wgsl.expected.ir.msl
new file mode 100644
index 0000000..f8d6916
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/9cea9e.wgsl.expected.ir.msl
@@ -0,0 +1,39 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:679 internal compiler error: %b1 = block { # root
+ %arg_0:ptr<handle, texture_storage_2d_array<rgba8uint, read_write>, read> = var @binding_point(1, 0)
+}
+
+%textureStore_9cea9e = func():void -> %b2 {
+ %b2 = block {
+ %3:texture_storage_2d_array<rgba8uint, read_write> = load %arg_0
+ %4:void = textureStore %3, vec2<i32>(1i), 1u, vec4<u32>(1u)
+ ret
+ }
+}
+%vertex_main = @vertex func():vec4<f32> [@position] -> %b3 {
+ %b3 = block {
+ %6:void = call %textureStore_9cea9e
+ ret vec4<f32>(0.0f)
+ }
+}
+%fragment_main = @fragment func():void -> %b4 {
+ %b4 = block {
+ %8:void = call %textureStore_9cea9e
+ ret
+ }
+}
+%compute_main = @compute @workgroup_size(1, 1, 1) func():void -> %b5 {
+ %b5 = block {
+ %10:void = call %textureStore_9cea9e
+ ret
+ }
+}
+
+invalid access control for storage texture
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/9d7c62.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/9d7c62.wgsl.expected.ir.msl
new file mode 100644
index 0000000..3e444b1
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/9d7c62.wgsl.expected.ir.msl
@@ -0,0 +1,39 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:679 internal compiler error: %b1 = block { # root
+ %arg_0:ptr<handle, texture_storage_1d<rgba8uint, read_write>, read> = var @binding_point(1, 0)
+}
+
+%textureStore_9d7c62 = func():void -> %b2 {
+ %b2 = block {
+ %3:texture_storage_1d<rgba8uint, read_write> = load %arg_0
+ %4:void = textureStore %3, 1i, vec4<u32>(1u)
+ ret
+ }
+}
+%vertex_main = @vertex func():vec4<f32> [@position] -> %b3 {
+ %b3 = block {
+ %6:void = call %textureStore_9d7c62
+ ret vec4<f32>(0.0f)
+ }
+}
+%fragment_main = @fragment func():void -> %b4 {
+ %b4 = block {
+ %8:void = call %textureStore_9d7c62
+ ret
+ }
+}
+%compute_main = @compute @workgroup_size(1, 1, 1) func():void -> %b5 {
+ %b5 = block {
+ %10:void = call %textureStore_9d7c62
+ ret
+ }
+}
+
+invalid access control for storage texture
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/9d8668.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/9d8668.wgsl.expected.ir.msl
new file mode 100644
index 0000000..b38060a
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/9d8668.wgsl.expected.ir.msl
@@ -0,0 +1,9 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:247 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/9d9cd5.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/9d9cd5.wgsl.expected.ir.msl
new file mode 100644
index 0000000..b38060a
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/9d9cd5.wgsl.expected.ir.msl
@@ -0,0 +1,9 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:247 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/9e3ec5.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/9e3ec5.wgsl.expected.ir.msl
new file mode 100644
index 0000000..b38060a
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/9e3ec5.wgsl.expected.ir.msl
@@ -0,0 +1,9 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:247 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/9f5318.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/9f5318.wgsl.expected.ir.msl
new file mode 100644
index 0000000..b38060a
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/9f5318.wgsl.expected.ir.msl
@@ -0,0 +1,9 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:247 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/9f7cea.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/9f7cea.wgsl.expected.ir.msl
new file mode 100644
index 0000000..b38060a
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/9f7cea.wgsl.expected.ir.msl
@@ -0,0 +1,9 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:247 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/a0022f.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/a0022f.wgsl.expected.ir.msl
new file mode 100644
index 0000000..b88f167
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/a0022f.wgsl.expected.ir.msl
@@ -0,0 +1,39 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:679 internal compiler error: %b1 = block { # root
+ %arg_0:ptr<handle, texture_storage_2d_array<r32sint, read_write>, read> = var @binding_point(1, 0)
+}
+
+%textureStore_a0022f = func():void -> %b2 {
+ %b2 = block {
+ %3:texture_storage_2d_array<r32sint, read_write> = load %arg_0
+ %4:void = textureStore %3, vec2<i32>(1i), 1i, vec4<i32>(1i)
+ ret
+ }
+}
+%vertex_main = @vertex func():vec4<f32> [@position] -> %b3 {
+ %b3 = block {
+ %6:void = call %textureStore_a0022f
+ ret vec4<f32>(0.0f)
+ }
+}
+%fragment_main = @fragment func():void -> %b4 {
+ %b4 = block {
+ %8:void = call %textureStore_a0022f
+ ret
+ }
+}
+%compute_main = @compute @workgroup_size(1, 1, 1) func():void -> %b5 {
+ %b5 = block {
+ %10:void = call %textureStore_a0022f
+ ret
+ }
+}
+
+invalid access control for storage texture
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/a0f96e.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/a0f96e.wgsl.expected.ir.msl
new file mode 100644
index 0000000..b38060a
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/a0f96e.wgsl.expected.ir.msl
@@ -0,0 +1,9 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:247 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/a1352c.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/a1352c.wgsl.expected.ir.msl
new file mode 100644
index 0000000..b38060a
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/a1352c.wgsl.expected.ir.msl
@@ -0,0 +1,9 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:247 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/a14041.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/a14041.wgsl.expected.ir.msl
new file mode 100644
index 0000000..94c3549
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/a14041.wgsl.expected.ir.msl
@@ -0,0 +1,39 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:679 internal compiler error: %b1 = block { # root
+ %arg_0:ptr<handle, texture_storage_1d<rgba32sint, read_write>, read> = var @binding_point(1, 0)
+}
+
+%textureStore_a14041 = func():void -> %b2 {
+ %b2 = block {
+ %3:texture_storage_1d<rgba32sint, read_write> = load %arg_0
+ %4:void = textureStore %3, 1i, vec4<i32>(1i)
+ ret
+ }
+}
+%vertex_main = @vertex func():vec4<f32> [@position] -> %b3 {
+ %b3 = block {
+ %6:void = call %textureStore_a14041
+ ret vec4<f32>(0.0f)
+ }
+}
+%fragment_main = @fragment func():void -> %b4 {
+ %b4 = block {
+ %8:void = call %textureStore_a14041
+ ret
+ }
+}
+%compute_main = @compute @workgroup_size(1, 1, 1) func():void -> %b5 {
+ %b5 = block {
+ %10:void = call %textureStore_a14041
+ ret
+ }
+}
+
+invalid access control for storage texture
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/a165b8.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/a165b8.wgsl.expected.ir.msl
new file mode 100644
index 0000000..b38060a
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/a165b8.wgsl.expected.ir.msl
@@ -0,0 +1,9 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:247 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/a19a12.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/a19a12.wgsl.expected.ir.msl
new file mode 100644
index 0000000..7e5d0f7
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/a19a12.wgsl.expected.ir.msl
@@ -0,0 +1,39 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:679 internal compiler error: %b1 = block { # root
+ %arg_0:ptr<handle, texture_storage_3d<rgba32uint, read_write>, read> = var @binding_point(1, 0)
+}
+
+%textureStore_a19a12 = func():void -> %b2 {
+ %b2 = block {
+ %3:texture_storage_3d<rgba32uint, read_write> = load %arg_0
+ %4:void = textureStore %3, vec3<i32>(1i), vec4<u32>(1u)
+ ret
+ }
+}
+%vertex_main = @vertex func():vec4<f32> [@position] -> %b3 {
+ %b3 = block {
+ %6:void = call %textureStore_a19a12
+ ret vec4<f32>(0.0f)
+ }
+}
+%fragment_main = @fragment func():void -> %b4 {
+ %b4 = block {
+ %8:void = call %textureStore_a19a12
+ ret
+ }
+}
+%compute_main = @compute @workgroup_size(1, 1, 1) func():void -> %b5 {
+ %b5 = block {
+ %10:void = call %textureStore_a19a12
+ ret
+ }
+}
+
+invalid access control for storage texture
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/a24491.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/a24491.wgsl.expected.ir.msl
new file mode 100644
index 0000000..719fc39
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/a24491.wgsl.expected.ir.msl
@@ -0,0 +1,39 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:679 internal compiler error: %b1 = block { # root
+ %arg_0:ptr<handle, texture_storage_2d<rgba32uint, read_write>, read> = var @binding_point(1, 0)
+}
+
+%textureStore_a24491 = func():void -> %b2 {
+ %b2 = block {
+ %3:texture_storage_2d<rgba32uint, read_write> = load %arg_0
+ %4:void = textureStore %3, vec2<u32>(1u), vec4<u32>(1u)
+ ret
+ }
+}
+%vertex_main = @vertex func():vec4<f32> [@position] -> %b3 {
+ %b3 = block {
+ %6:void = call %textureStore_a24491
+ ret vec4<f32>(0.0f)
+ }
+}
+%fragment_main = @fragment func():void -> %b4 {
+ %b4 = block {
+ %8:void = call %textureStore_a24491
+ ret
+ }
+}
+%compute_main = @compute @workgroup_size(1, 1, 1) func():void -> %b5 {
+ %b5 = block {
+ %10:void = call %textureStore_a24491
+ ret
+ }
+}
+
+invalid access control for storage texture
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/a4c338.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/a4c338.wgsl.expected.ir.msl
new file mode 100644
index 0000000..b38060a
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/a4c338.wgsl.expected.ir.msl
@@ -0,0 +1,9 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:247 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/a5b88e.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/a5b88e.wgsl.expected.ir.msl
new file mode 100644
index 0000000..7d52587
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/a5b88e.wgsl.expected.ir.msl
@@ -0,0 +1,39 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:679 internal compiler error: %b1 = block { # root
+ %arg_0:ptr<handle, texture_storage_3d<rgba16sint, read_write>, read> = var @binding_point(1, 0)
+}
+
+%textureStore_a5b88e = func():void -> %b2 {
+ %b2 = block {
+ %3:texture_storage_3d<rgba16sint, read_write> = load %arg_0
+ %4:void = textureStore %3, vec3<u32>(1u), vec4<i32>(1i)
+ ret
+ }
+}
+%vertex_main = @vertex func():vec4<f32> [@position] -> %b3 {
+ %b3 = block {
+ %6:void = call %textureStore_a5b88e
+ ret vec4<f32>(0.0f)
+ }
+}
+%fragment_main = @fragment func():void -> %b4 {
+ %b4 = block {
+ %8:void = call %textureStore_a5b88e
+ ret
+ }
+}
+%compute_main = @compute @workgroup_size(1, 1, 1) func():void -> %b5 {
+ %b5 = block {
+ %10:void = call %textureStore_a5b88e
+ ret
+ }
+}
+
+invalid access control for storage texture
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/a5c925.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/a5c925.wgsl.expected.ir.msl
new file mode 100644
index 0000000..bbc07d0
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/a5c925.wgsl.expected.ir.msl
@@ -0,0 +1,39 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:679 internal compiler error: %b1 = block { # root
+ %arg_0:ptr<handle, texture_storage_3d<rgba8sint, read_write>, read> = var @binding_point(1, 0)
+}
+
+%textureStore_a5c925 = func():void -> %b2 {
+ %b2 = block {
+ %3:texture_storage_3d<rgba8sint, read_write> = load %arg_0
+ %4:void = textureStore %3, vec3<u32>(1u), vec4<i32>(1i)
+ ret
+ }
+}
+%vertex_main = @vertex func():vec4<f32> [@position] -> %b3 {
+ %b3 = block {
+ %6:void = call %textureStore_a5c925
+ ret vec4<f32>(0.0f)
+ }
+}
+%fragment_main = @fragment func():void -> %b4 {
+ %b4 = block {
+ %8:void = call %textureStore_a5c925
+ ret
+ }
+}
+%compute_main = @compute @workgroup_size(1, 1, 1) func():void -> %b5 {
+ %b5 = block {
+ %10:void = call %textureStore_a5c925
+ ret
+ }
+}
+
+invalid access control for storage texture
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/a5e80d.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/a5e80d.wgsl.expected.ir.msl
new file mode 100644
index 0000000..b38060a
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/a5e80d.wgsl.expected.ir.msl
@@ -0,0 +1,9 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:247 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/a66ca4.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/a66ca4.wgsl.expected.ir.msl
new file mode 100644
index 0000000..fbc8309
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/a66ca4.wgsl.expected.ir.msl
@@ -0,0 +1,39 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:679 internal compiler error: %b1 = block { # root
+ %arg_0:ptr<handle, texture_storage_3d<bgra8unorm, read_write>, read> = var @binding_point(1, 0)
+}
+
+%textureStore_a66ca4 = func():void -> %b2 {
+ %b2 = block {
+ %3:texture_storage_3d<bgra8unorm, read_write> = load %arg_0
+ %4:void = textureStore %3, vec3<i32>(1i), vec4<f32>(1.0f)
+ ret
+ }
+}
+%vertex_main = @vertex func():vec4<f32> [@position] -> %b3 {
+ %b3 = block {
+ %6:void = call %textureStore_a66ca4
+ ret vec4<f32>(0.0f)
+ }
+}
+%fragment_main = @fragment func():void -> %b4 {
+ %b4 = block {
+ %8:void = call %textureStore_a66ca4
+ ret
+ }
+}
+%compute_main = @compute @workgroup_size(1, 1, 1) func():void -> %b5 {
+ %b5 = block {
+ %10:void = call %textureStore_a66ca4
+ ret
+ }
+}
+
+invalid access control for storage texture
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/a6a986.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/a6a986.wgsl.expected.ir.msl
new file mode 100644
index 0000000..b38060a
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/a6a986.wgsl.expected.ir.msl
@@ -0,0 +1,9 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:247 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/a6e78f.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/a6e78f.wgsl.expected.ir.msl
new file mode 100644
index 0000000..b38060a
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/a6e78f.wgsl.expected.ir.msl
@@ -0,0 +1,9 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:247 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/a702b6.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/a702b6.wgsl.expected.ir.msl
new file mode 100644
index 0000000..51a0ff4
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/a702b6.wgsl.expected.ir.msl
@@ -0,0 +1,39 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:679 internal compiler error: %b1 = block { # root
+ %arg_0:ptr<handle, texture_storage_2d_array<rg32uint, read_write>, read> = var @binding_point(1, 0)
+}
+
+%textureStore_a702b6 = func():void -> %b2 {
+ %b2 = block {
+ %3:texture_storage_2d_array<rg32uint, read_write> = load %arg_0
+ %4:void = textureStore %3, vec2<i32>(1i), 1i, vec4<u32>(1u)
+ ret
+ }
+}
+%vertex_main = @vertex func():vec4<f32> [@position] -> %b3 {
+ %b3 = block {
+ %6:void = call %textureStore_a702b6
+ ret vec4<f32>(0.0f)
+ }
+}
+%fragment_main = @fragment func():void -> %b4 {
+ %b4 = block {
+ %8:void = call %textureStore_a702b6
+ ret
+ }
+}
+%compute_main = @compute @workgroup_size(1, 1, 1) func():void -> %b5 {
+ %b5 = block {
+ %10:void = call %textureStore_a702b6
+ ret
+ }
+}
+
+invalid access control for storage texture
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/a9298c.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/a9298c.wgsl.expected.ir.msl
new file mode 100644
index 0000000..e83bd48
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/a9298c.wgsl.expected.ir.msl
@@ -0,0 +1,39 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:679 internal compiler error: %b1 = block { # root
+ %arg_0:ptr<handle, texture_storage_1d<rg32uint, read_write>, read> = var @binding_point(1, 0)
+}
+
+%textureStore_a9298c = func():void -> %b2 {
+ %b2 = block {
+ %3:texture_storage_1d<rg32uint, read_write> = load %arg_0
+ %4:void = textureStore %3, 1u, vec4<u32>(1u)
+ ret
+ }
+}
+%vertex_main = @vertex func():vec4<f32> [@position] -> %b3 {
+ %b3 = block {
+ %6:void = call %textureStore_a9298c
+ ret vec4<f32>(0.0f)
+ }
+}
+%fragment_main = @fragment func():void -> %b4 {
+ %b4 = block {
+ %8:void = call %textureStore_a9298c
+ ret
+ }
+}
+%compute_main = @compute @workgroup_size(1, 1, 1) func():void -> %b5 {
+ %b5 = block {
+ %10:void = call %textureStore_a9298c
+ ret
+ }
+}
+
+invalid access control for storage texture
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/a9426c.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/a9426c.wgsl.expected.ir.msl
new file mode 100644
index 0000000..b38060a
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/a9426c.wgsl.expected.ir.msl
@@ -0,0 +1,9 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:247 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/ab03b6.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/ab03b6.wgsl.expected.ir.msl
new file mode 100644
index 0000000..e12c20c
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/ab03b6.wgsl.expected.ir.msl
@@ -0,0 +1,39 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:679 internal compiler error: %b1 = block { # root
+ %arg_0:ptr<handle, texture_storage_3d<rgba8uint, read_write>, read> = var @binding_point(1, 0)
+}
+
+%textureStore_ab03b6 = func():void -> %b2 {
+ %b2 = block {
+ %3:texture_storage_3d<rgba8uint, read_write> = load %arg_0
+ %4:void = textureStore %3, vec3<i32>(1i), vec4<u32>(1u)
+ ret
+ }
+}
+%vertex_main = @vertex func():vec4<f32> [@position] -> %b3 {
+ %b3 = block {
+ %6:void = call %textureStore_ab03b6
+ ret vec4<f32>(0.0f)
+ }
+}
+%fragment_main = @fragment func():void -> %b4 {
+ %b4 = block {
+ %8:void = call %textureStore_ab03b6
+ ret
+ }
+}
+%compute_main = @compute @workgroup_size(1, 1, 1) func():void -> %b5 {
+ %b5 = block {
+ %10:void = call %textureStore_ab03b6
+ ret
+ }
+}
+
+invalid access control for storage texture
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/ab788e.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/ab788e.wgsl.expected.ir.msl
new file mode 100644
index 0000000..e178d0f
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/ab788e.wgsl.expected.ir.msl
@@ -0,0 +1,39 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:679 internal compiler error: %b1 = block { # root
+ %arg_0:ptr<handle, texture_storage_2d<rg32float, read_write>, read> = var @binding_point(1, 0)
+}
+
+%textureStore_ab788e = func():void -> %b2 {
+ %b2 = block {
+ %3:texture_storage_2d<rg32float, read_write> = load %arg_0
+ %4:void = textureStore %3, vec2<i32>(1i), vec4<f32>(1.0f)
+ ret
+ }
+}
+%vertex_main = @vertex func():vec4<f32> [@position] -> %b3 {
+ %b3 = block {
+ %6:void = call %textureStore_ab788e
+ ret vec4<f32>(0.0f)
+ }
+}
+%fragment_main = @fragment func():void -> %b4 {
+ %b4 = block {
+ %8:void = call %textureStore_ab788e
+ ret
+ }
+}
+%compute_main = @compute @workgroup_size(1, 1, 1) func():void -> %b5 {
+ %b5 = block {
+ %10:void = call %textureStore_ab788e
+ ret
+ }
+}
+
+invalid access control for storage texture
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/abdd21.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/abdd21.wgsl.expected.ir.msl
new file mode 100644
index 0000000..936be54
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/abdd21.wgsl.expected.ir.msl
@@ -0,0 +1,39 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:679 internal compiler error: %b1 = block { # root
+ %arg_0:ptr<handle, texture_storage_2d_array<r32uint, read_write>, read> = var @binding_point(1, 0)
+}
+
+%textureStore_abdd21 = func():void -> %b2 {
+ %b2 = block {
+ %3:texture_storage_2d_array<r32uint, read_write> = load %arg_0
+ %4:void = textureStore %3, vec2<u32>(1u), 1u, vec4<u32>(1u)
+ ret
+ }
+}
+%vertex_main = @vertex func():vec4<f32> [@position] -> %b3 {
+ %b3 = block {
+ %6:void = call %textureStore_abdd21
+ ret vec4<f32>(0.0f)
+ }
+}
+%fragment_main = @fragment func():void -> %b4 {
+ %b4 = block {
+ %8:void = call %textureStore_abdd21
+ ret
+ }
+}
+%compute_main = @compute @workgroup_size(1, 1, 1) func():void -> %b5 {
+ %b5 = block {
+ %10:void = call %textureStore_abdd21
+ ret
+ }
+}
+
+invalid access control for storage texture
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/ac0a55.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/ac0a55.wgsl.expected.ir.msl
new file mode 100644
index 0000000..f3a9bbe
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/ac0a55.wgsl.expected.ir.msl
@@ -0,0 +1,39 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:679 internal compiler error: %b1 = block { # root
+ %arg_0:ptr<handle, texture_storage_2d_array<rgba32uint, read_write>, read> = var @binding_point(1, 0)
+}
+
+%textureStore_ac0a55 = func():void -> %b2 {
+ %b2 = block {
+ %3:texture_storage_2d_array<rgba32uint, read_write> = load %arg_0
+ %4:void = textureStore %3, vec2<u32>(1u), 1u, vec4<u32>(1u)
+ ret
+ }
+}
+%vertex_main = @vertex func():vec4<f32> [@position] -> %b3 {
+ %b3 = block {
+ %6:void = call %textureStore_ac0a55
+ ret vec4<f32>(0.0f)
+ }
+}
+%fragment_main = @fragment func():void -> %b4 {
+ %b4 = block {
+ %8:void = call %textureStore_ac0a55
+ ret
+ }
+}
+%compute_main = @compute @workgroup_size(1, 1, 1) func():void -> %b5 {
+ %b5 = block {
+ %10:void = call %textureStore_ac0a55
+ ret
+ }
+}
+
+invalid access control for storage texture
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/ac67aa.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/ac67aa.wgsl.expected.ir.msl
new file mode 100644
index 0000000..b38060a
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/ac67aa.wgsl.expected.ir.msl
@@ -0,0 +1,9 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:247 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/aeb38a.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/aeb38a.wgsl.expected.ir.msl
new file mode 100644
index 0000000..b38060a
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/aeb38a.wgsl.expected.ir.msl
@@ -0,0 +1,9 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:247 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/aedea3.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/aedea3.wgsl.expected.ir.msl
new file mode 100644
index 0000000..afa6857
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/aedea3.wgsl.expected.ir.msl
@@ -0,0 +1,39 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:679 internal compiler error: %b1 = block { # root
+ %arg_0:ptr<handle, texture_storage_2d_array<rgba16uint, read_write>, read> = var @binding_point(1, 0)
+}
+
+%textureStore_aedea3 = func():void -> %b2 {
+ %b2 = block {
+ %3:texture_storage_2d_array<rgba16uint, read_write> = load %arg_0
+ %4:void = textureStore %3, vec2<u32>(1u), 1i, vec4<u32>(1u)
+ ret
+ }
+}
+%vertex_main = @vertex func():vec4<f32> [@position] -> %b3 {
+ %b3 = block {
+ %6:void = call %textureStore_aedea3
+ ret vec4<f32>(0.0f)
+ }
+}
+%fragment_main = @fragment func():void -> %b4 {
+ %b4 = block {
+ %8:void = call %textureStore_aedea3
+ ret
+ }
+}
+%compute_main = @compute @workgroup_size(1, 1, 1) func():void -> %b5 {
+ %b5 = block {
+ %10:void = call %textureStore_aedea3
+ ret
+ }
+}
+
+invalid access control for storage texture
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/b16110.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/b16110.wgsl.expected.ir.msl
new file mode 100644
index 0000000..831a9b1
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/b16110.wgsl.expected.ir.msl
@@ -0,0 +1,39 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:679 internal compiler error: %b1 = block { # root
+ %arg_0:ptr<handle, texture_storage_2d_array<rgba32sint, read_write>, read> = var @binding_point(1, 0)
+}
+
+%textureStore_b16110 = func():void -> %b2 {
+ %b2 = block {
+ %3:texture_storage_2d_array<rgba32sint, read_write> = load %arg_0
+ %4:void = textureStore %3, vec2<u32>(1u), 1u, vec4<i32>(1i)
+ ret
+ }
+}
+%vertex_main = @vertex func():vec4<f32> [@position] -> %b3 {
+ %b3 = block {
+ %6:void = call %textureStore_b16110
+ ret vec4<f32>(0.0f)
+ }
+}
+%fragment_main = @fragment func():void -> %b4 {
+ %b4 = block {
+ %8:void = call %textureStore_b16110
+ ret
+ }
+}
+%compute_main = @compute @workgroup_size(1, 1, 1) func():void -> %b5 {
+ %b5 = block {
+ %10:void = call %textureStore_b16110
+ ret
+ }
+}
+
+invalid access control for storage texture
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/b286b4.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/b286b4.wgsl.expected.ir.msl
new file mode 100644
index 0000000..90f50f9
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/b286b4.wgsl.expected.ir.msl
@@ -0,0 +1,39 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:679 internal compiler error: %b1 = block { # root
+ %arg_0:ptr<handle, texture_storage_2d_array<rgba32uint, read_write>, read> = var @binding_point(1, 0)
+}
+
+%textureStore_b286b4 = func():void -> %b2 {
+ %b2 = block {
+ %3:texture_storage_2d_array<rgba32uint, read_write> = load %arg_0
+ %4:void = textureStore %3, vec2<i32>(1i), 1i, vec4<u32>(1u)
+ ret
+ }
+}
+%vertex_main = @vertex func():vec4<f32> [@position] -> %b3 {
+ %b3 = block {
+ %6:void = call %textureStore_b286b4
+ ret vec4<f32>(0.0f)
+ }
+}
+%fragment_main = @fragment func():void -> %b4 {
+ %b4 = block {
+ %8:void = call %textureStore_b286b4
+ ret
+ }
+}
+%compute_main = @compute @workgroup_size(1, 1, 1) func():void -> %b5 {
+ %b5 = block {
+ %10:void = call %textureStore_b286b4
+ ret
+ }
+}
+
+invalid access control for storage texture
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/b36bc1.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/b36bc1.wgsl.expected.ir.msl
new file mode 100644
index 0000000..dcd6b8c
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/b36bc1.wgsl.expected.ir.msl
@@ -0,0 +1,39 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:679 internal compiler error: %b1 = block { # root
+ %arg_0:ptr<handle, texture_storage_3d<rgba8uint, read_write>, read> = var @binding_point(1, 0)
+}
+
+%textureStore_b36bc1 = func():void -> %b2 {
+ %b2 = block {
+ %3:texture_storage_3d<rgba8uint, read_write> = load %arg_0
+ %4:void = textureStore %3, vec3<u32>(1u), vec4<u32>(1u)
+ ret
+ }
+}
+%vertex_main = @vertex func():vec4<f32> [@position] -> %b3 {
+ %b3 = block {
+ %6:void = call %textureStore_b36bc1
+ ret vec4<f32>(0.0f)
+ }
+}
+%fragment_main = @fragment func():void -> %b4 {
+ %b4 = block {
+ %8:void = call %textureStore_b36bc1
+ ret
+ }
+}
+%compute_main = @compute @workgroup_size(1, 1, 1) func():void -> %b5 {
+ %b5 = block {
+ %10:void = call %textureStore_b36bc1
+ ret
+ }
+}
+
+invalid access control for storage texture
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/b42fd3.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/b42fd3.wgsl.expected.ir.msl
new file mode 100644
index 0000000..b38060a
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/b42fd3.wgsl.expected.ir.msl
@@ -0,0 +1,9 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:247 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/b4389e.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/b4389e.wgsl.expected.ir.msl
new file mode 100644
index 0000000..115f07c
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/b4389e.wgsl.expected.ir.msl
@@ -0,0 +1,39 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:679 internal compiler error: %b1 = block { # root
+ %arg_0:ptr<handle, texture_storage_3d<bgra8unorm, read_write>, read> = var @binding_point(1, 0)
+}
+
+%textureStore_b4389e = func():void -> %b2 {
+ %b2 = block {
+ %3:texture_storage_3d<bgra8unorm, read_write> = load %arg_0
+ %4:void = textureStore %3, vec3<u32>(1u), vec4<f32>(1.0f)
+ ret
+ }
+}
+%vertex_main = @vertex func():vec4<f32> [@position] -> %b3 {
+ %b3 = block {
+ %6:void = call %textureStore_b4389e
+ ret vec4<f32>(0.0f)
+ }
+}
+%fragment_main = @fragment func():void -> %b4 {
+ %b4 = block {
+ %8:void = call %textureStore_b4389e
+ ret
+ }
+}
+%compute_main = @compute @workgroup_size(1, 1, 1) func():void -> %b5 {
+ %b5 = block {
+ %10:void = call %textureStore_b4389e
+ ret
+ }
+}
+
+invalid access control for storage texture
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/b706b1.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/b706b1.wgsl.expected.ir.msl
new file mode 100644
index 0000000..b38060a
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/b706b1.wgsl.expected.ir.msl
@@ -0,0 +1,9 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:247 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/b70ded.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/b70ded.wgsl.expected.ir.msl
new file mode 100644
index 0000000..b38060a
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/b70ded.wgsl.expected.ir.msl
@@ -0,0 +1,9 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:247 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/b71c13.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/b71c13.wgsl.expected.ir.msl
new file mode 100644
index 0000000..d97c0a5
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/b71c13.wgsl.expected.ir.msl
@@ -0,0 +1,39 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:679 internal compiler error: %b1 = block { # root
+ %arg_0:ptr<handle, texture_storage_2d_array<rg32float, read_write>, read> = var @binding_point(1, 0)
+}
+
+%textureStore_b71c13 = func():void -> %b2 {
+ %b2 = block {
+ %3:texture_storage_2d_array<rg32float, read_write> = load %arg_0
+ %4:void = textureStore %3, vec2<u32>(1u), 1i, vec4<f32>(1.0f)
+ ret
+ }
+}
+%vertex_main = @vertex func():vec4<f32> [@position] -> %b3 {
+ %b3 = block {
+ %6:void = call %textureStore_b71c13
+ ret vec4<f32>(0.0f)
+ }
+}
+%fragment_main = @fragment func():void -> %b4 {
+ %b4 = block {
+ %8:void = call %textureStore_b71c13
+ ret
+ }
+}
+%compute_main = @compute @workgroup_size(1, 1, 1) func():void -> %b5 {
+ %b5 = block {
+ %10:void = call %textureStore_b71c13
+ ret
+ }
+}
+
+invalid access control for storage texture
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/b7232c.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/b7232c.wgsl.expected.ir.msl
new file mode 100644
index 0000000..89c2184
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/b7232c.wgsl.expected.ir.msl
@@ -0,0 +1,39 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:679 internal compiler error: %b1 = block { # root
+ %arg_0:ptr<handle, texture_storage_1d<r32float, read_write>, read> = var @binding_point(1, 0)
+}
+
+%textureStore_b7232c = func():void -> %b2 {
+ %b2 = block {
+ %3:texture_storage_1d<r32float, read_write> = load %arg_0
+ %4:void = textureStore %3, 1u, vec4<f32>(1.0f)
+ ret
+ }
+}
+%vertex_main = @vertex func():vec4<f32> [@position] -> %b3 {
+ %b3 = block {
+ %6:void = call %textureStore_b7232c
+ ret vec4<f32>(0.0f)
+ }
+}
+%fragment_main = @fragment func():void -> %b4 {
+ %b4 = block {
+ %8:void = call %textureStore_b7232c
+ ret
+ }
+}
+%compute_main = @compute @workgroup_size(1, 1, 1) func():void -> %b5 {
+ %b5 = block {
+ %10:void = call %textureStore_b7232c
+ ret
+ }
+}
+
+invalid access control for storage texture
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/b76ff3.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/b76ff3.wgsl.expected.ir.msl
new file mode 100644
index 0000000..b38060a
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/b76ff3.wgsl.expected.ir.msl
@@ -0,0 +1,9 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:247 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/b77161.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/b77161.wgsl.expected.ir.msl
new file mode 100644
index 0000000..b38060a
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/b77161.wgsl.expected.ir.msl
@@ -0,0 +1,9 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:247 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/b89ffb.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/b89ffb.wgsl.expected.ir.msl
new file mode 100644
index 0000000..b066c54
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/b89ffb.wgsl.expected.ir.msl
@@ -0,0 +1,39 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:679 internal compiler error: %b1 = block { # root
+ %arg_0:ptr<handle, texture_storage_2d_array<bgra8unorm, read_write>, read> = var @binding_point(1, 0)
+}
+
+%textureStore_b89ffb = func():void -> %b2 {
+ %b2 = block {
+ %3:texture_storage_2d_array<bgra8unorm, read_write> = load %arg_0
+ %4:void = textureStore %3, vec2<i32>(1i), 1u, vec4<f32>(1.0f)
+ ret
+ }
+}
+%vertex_main = @vertex func():vec4<f32> [@position] -> %b3 {
+ %b3 = block {
+ %6:void = call %textureStore_b89ffb
+ ret vec4<f32>(0.0f)
+ }
+}
+%fragment_main = @fragment func():void -> %b4 {
+ %b4 = block {
+ %8:void = call %textureStore_b89ffb
+ ret
+ }
+}
+%compute_main = @compute @workgroup_size(1, 1, 1) func():void -> %b5 {
+ %b5 = block {
+ %10:void = call %textureStore_b89ffb
+ ret
+ }
+}
+
+invalid access control for storage texture
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/b9c81a.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/b9c81a.wgsl.expected.ir.msl
new file mode 100644
index 0000000..8ea826a
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/b9c81a.wgsl.expected.ir.msl
@@ -0,0 +1,39 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:679 internal compiler error: %b1 = block { # root
+ %arg_0:ptr<handle, texture_storage_3d<rg32uint, read_write>, read> = var @binding_point(1, 0)
+}
+
+%textureStore_b9c81a = func():void -> %b2 {
+ %b2 = block {
+ %3:texture_storage_3d<rg32uint, read_write> = load %arg_0
+ %4:void = textureStore %3, vec3<i32>(1i), vec4<u32>(1u)
+ ret
+ }
+}
+%vertex_main = @vertex func():vec4<f32> [@position] -> %b3 {
+ %b3 = block {
+ %6:void = call %textureStore_b9c81a
+ ret vec4<f32>(0.0f)
+ }
+}
+%fragment_main = @fragment func():void -> %b4 {
+ %b4 = block {
+ %8:void = call %textureStore_b9c81a
+ ret
+ }
+}
+%compute_main = @compute @workgroup_size(1, 1, 1) func():void -> %b5 {
+ %b5 = block {
+ %10:void = call %textureStore_b9c81a
+ ret
+ }
+}
+
+invalid access control for storage texture
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/b9d863.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/b9d863.wgsl.expected.ir.msl
new file mode 100644
index 0000000..9169195
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/b9d863.wgsl.expected.ir.msl
@@ -0,0 +1,39 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:679 internal compiler error: %b1 = block { # root
+ %arg_0:ptr<handle, texture_storage_2d_array<rgba16uint, read_write>, read> = var @binding_point(1, 0)
+}
+
+%textureStore_b9d863 = func():void -> %b2 {
+ %b2 = block {
+ %3:texture_storage_2d_array<rgba16uint, read_write> = load %arg_0
+ %4:void = textureStore %3, vec2<i32>(1i), 1i, vec4<u32>(1u)
+ ret
+ }
+}
+%vertex_main = @vertex func():vec4<f32> [@position] -> %b3 {
+ %b3 = block {
+ %6:void = call %textureStore_b9d863
+ ret vec4<f32>(0.0f)
+ }
+}
+%fragment_main = @fragment func():void -> %b4 {
+ %b4 = block {
+ %8:void = call %textureStore_b9d863
+ ret
+ }
+}
+%compute_main = @compute @workgroup_size(1, 1, 1) func():void -> %b5 {
+ %b5 = block {
+ %10:void = call %textureStore_b9d863
+ ret
+ }
+}
+
+invalid access control for storage texture
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/bbcb7f.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/bbcb7f.wgsl.expected.ir.msl
new file mode 100644
index 0000000..b38060a
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/bbcb7f.wgsl.expected.ir.msl
@@ -0,0 +1,9 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:247 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/bc1423.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/bc1423.wgsl.expected.ir.msl
new file mode 100644
index 0000000..f648ca3
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/bc1423.wgsl.expected.ir.msl
@@ -0,0 +1,39 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:679 internal compiler error: %b1 = block { # root
+ %arg_0:ptr<handle, texture_storage_2d_array<rgba8uint, read_write>, read> = var @binding_point(1, 0)
+}
+
+%textureStore_bc1423 = func():void -> %b2 {
+ %b2 = block {
+ %3:texture_storage_2d_array<rgba8uint, read_write> = load %arg_0
+ %4:void = textureStore %3, vec2<u32>(1u), 1i, vec4<u32>(1u)
+ ret
+ }
+}
+%vertex_main = @vertex func():vec4<f32> [@position] -> %b3 {
+ %b3 = block {
+ %6:void = call %textureStore_bc1423
+ ret vec4<f32>(0.0f)
+ }
+}
+%fragment_main = @fragment func():void -> %b4 {
+ %b4 = block {
+ %8:void = call %textureStore_bc1423
+ ret
+ }
+}
+%compute_main = @compute @workgroup_size(1, 1, 1) func():void -> %b5 {
+ %b5 = block {
+ %10:void = call %textureStore_bc1423
+ ret
+ }
+}
+
+invalid access control for storage texture
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/bcc97a.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/bcc97a.wgsl.expected.ir.msl
new file mode 100644
index 0000000..1c2756c
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/bcc97a.wgsl.expected.ir.msl
@@ -0,0 +1,39 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:679 internal compiler error: %b1 = block { # root
+ %arg_0:ptr<handle, texture_storage_2d<r32sint, read_write>, read> = var @binding_point(1, 0)
+}
+
+%textureStore_bcc97a = func():void -> %b2 {
+ %b2 = block {
+ %3:texture_storage_2d<r32sint, read_write> = load %arg_0
+ %4:void = textureStore %3, vec2<i32>(1i), vec4<i32>(1i)
+ ret
+ }
+}
+%vertex_main = @vertex func():vec4<f32> [@position] -> %b3 {
+ %b3 = block {
+ %6:void = call %textureStore_bcc97a
+ ret vec4<f32>(0.0f)
+ }
+}
+%fragment_main = @fragment func():void -> %b4 {
+ %b4 = block {
+ %8:void = call %textureStore_bcc97a
+ ret
+ }
+}
+%compute_main = @compute @workgroup_size(1, 1, 1) func():void -> %b5 {
+ %b5 = block {
+ %10:void = call %textureStore_bcc97a
+ ret
+ }
+}
+
+invalid access control for storage texture
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/bd6602.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/bd6602.wgsl.expected.ir.msl
new file mode 100644
index 0000000..ad3a189
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/bd6602.wgsl.expected.ir.msl
@@ -0,0 +1,39 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:679 internal compiler error: %b1 = block { # root
+ %arg_0:ptr<handle, texture_storage_2d_array<rg32uint, read_write>, read> = var @binding_point(1, 0)
+}
+
+%textureStore_bd6602 = func():void -> %b2 {
+ %b2 = block {
+ %3:texture_storage_2d_array<rg32uint, read_write> = load %arg_0
+ %4:void = textureStore %3, vec2<u32>(1u), 1i, vec4<u32>(1u)
+ ret
+ }
+}
+%vertex_main = @vertex func():vec4<f32> [@position] -> %b3 {
+ %b3 = block {
+ %6:void = call %textureStore_bd6602
+ ret vec4<f32>(0.0f)
+ }
+}
+%fragment_main = @fragment func():void -> %b4 {
+ %b4 = block {
+ %8:void = call %textureStore_bd6602
+ ret
+ }
+}
+%compute_main = @compute @workgroup_size(1, 1, 1) func():void -> %b5 {
+ %b5 = block {
+ %10:void = call %textureStore_bd6602
+ ret
+ }
+}
+
+invalid access control for storage texture
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/be6e30.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/be6e30.wgsl.expected.ir.msl
new file mode 100644
index 0000000..b38060a
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/be6e30.wgsl.expected.ir.msl
@@ -0,0 +1,9 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:247 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/bedbfc.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/bedbfc.wgsl.expected.ir.msl
new file mode 100644
index 0000000..b38060a
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/bedbfc.wgsl.expected.ir.msl
@@ -0,0 +1,9 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:247 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/bf775c.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/bf775c.wgsl.expected.ir.msl
new file mode 100644
index 0000000..b38060a
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/bf775c.wgsl.expected.ir.msl
@@ -0,0 +1,9 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:247 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/c06463.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/c06463.wgsl.expected.ir.msl
new file mode 100644
index 0000000..ea33e66
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/c06463.wgsl.expected.ir.msl
@@ -0,0 +1,39 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:679 internal compiler error: %b1 = block { # root
+ %arg_0:ptr<handle, texture_storage_2d_array<bgra8unorm, read_write>, read> = var @binding_point(1, 0)
+}
+
+%textureStore_c06463 = func():void -> %b2 {
+ %b2 = block {
+ %3:texture_storage_2d_array<bgra8unorm, read_write> = load %arg_0
+ %4:void = textureStore %3, vec2<i32>(1i), 1i, vec4<f32>(1.0f)
+ ret
+ }
+}
+%vertex_main = @vertex func():vec4<f32> [@position] -> %b3 {
+ %b3 = block {
+ %6:void = call %textureStore_c06463
+ ret vec4<f32>(0.0f)
+ }
+}
+%fragment_main = @fragment func():void -> %b4 {
+ %b4 = block {
+ %8:void = call %textureStore_c06463
+ ret
+ }
+}
+%compute_main = @compute @workgroup_size(1, 1, 1) func():void -> %b5 {
+ %b5 = block {
+ %10:void = call %textureStore_c06463
+ ret
+ }
+}
+
+invalid access control for storage texture
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/c1c664.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/c1c664.wgsl.expected.ir.msl
new file mode 100644
index 0000000..c966b2f
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/c1c664.wgsl.expected.ir.msl
@@ -0,0 +1,39 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:679 internal compiler error: %b1 = block { # root
+ %arg_0:ptr<handle, texture_storage_2d<rgba32float, read_write>, read> = var @binding_point(1, 0)
+}
+
+%textureStore_c1c664 = func():void -> %b2 {
+ %b2 = block {
+ %3:texture_storage_2d<rgba32float, read_write> = load %arg_0
+ %4:void = textureStore %3, vec2<i32>(1i), vec4<f32>(1.0f)
+ ret
+ }
+}
+%vertex_main = @vertex func():vec4<f32> [@position] -> %b3 {
+ %b3 = block {
+ %6:void = call %textureStore_c1c664
+ ret vec4<f32>(0.0f)
+ }
+}
+%fragment_main = @fragment func():void -> %b4 {
+ %b4 = block {
+ %8:void = call %textureStore_c1c664
+ ret
+ }
+}
+%compute_main = @compute @workgroup_size(1, 1, 1) func():void -> %b5 {
+ %b5 = block {
+ %10:void = call %textureStore_c1c664
+ ret
+ }
+}
+
+invalid access control for storage texture
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/c1f29e.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/c1f29e.wgsl.expected.ir.msl
new file mode 100644
index 0000000..b38060a
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/c1f29e.wgsl.expected.ir.msl
@@ -0,0 +1,9 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:247 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/c1f760.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/c1f760.wgsl.expected.ir.msl
new file mode 100644
index 0000000..fe119fd
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/c1f760.wgsl.expected.ir.msl
@@ -0,0 +1,39 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:679 internal compiler error: %b1 = block { # root
+ %arg_0:ptr<handle, texture_storage_2d_array<rgba16uint, read_write>, read> = var @binding_point(1, 0)
+}
+
+%textureStore_c1f760 = func():void -> %b2 {
+ %b2 = block {
+ %3:texture_storage_2d_array<rgba16uint, read_write> = load %arg_0
+ %4:void = textureStore %3, vec2<u32>(1u), 1u, vec4<u32>(1u)
+ ret
+ }
+}
+%vertex_main = @vertex func():vec4<f32> [@position] -> %b3 {
+ %b3 = block {
+ %6:void = call %textureStore_c1f760
+ ret vec4<f32>(0.0f)
+ }
+}
+%fragment_main = @fragment func():void -> %b4 {
+ %b4 = block {
+ %8:void = call %textureStore_c1f760
+ ret
+ }
+}
+%compute_main = @compute @workgroup_size(1, 1, 1) func():void -> %b5 {
+ %b5 = block {
+ %10:void = call %textureStore_c1f760
+ ret
+ }
+}
+
+invalid access control for storage texture
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/c2ca46.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/c2ca46.wgsl.expected.ir.msl
new file mode 100644
index 0000000..b38060a
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/c2ca46.wgsl.expected.ir.msl
@@ -0,0 +1,9 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:247 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/c32905.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/c32905.wgsl.expected.ir.msl
new file mode 100644
index 0000000..b38060a
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/c32905.wgsl.expected.ir.msl
@@ -0,0 +1,9 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:247 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/c33478.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/c33478.wgsl.expected.ir.msl
new file mode 100644
index 0000000..549511f
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/c33478.wgsl.expected.ir.msl
@@ -0,0 +1,39 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:679 internal compiler error: %b1 = block { # root
+ %arg_0:ptr<handle, texture_storage_3d<rg32float, read_write>, read> = var @binding_point(1, 0)
+}
+
+%textureStore_c33478 = func():void -> %b2 {
+ %b2 = block {
+ %3:texture_storage_3d<rg32float, read_write> = load %arg_0
+ %4:void = textureStore %3, vec3<i32>(1i), vec4<f32>(1.0f)
+ ret
+ }
+}
+%vertex_main = @vertex func():vec4<f32> [@position] -> %b3 {
+ %b3 = block {
+ %6:void = call %textureStore_c33478
+ ret vec4<f32>(0.0f)
+ }
+}
+%fragment_main = @fragment func():void -> %b4 {
+ %b4 = block {
+ %8:void = call %textureStore_c33478
+ ret
+ }
+}
+%compute_main = @compute @workgroup_size(1, 1, 1) func():void -> %b5 {
+ %b5 = block {
+ %10:void = call %textureStore_c33478
+ ret
+ }
+}
+
+invalid access control for storage texture
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/c35268.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/c35268.wgsl.expected.ir.msl
new file mode 100644
index 0000000..5da6320
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/c35268.wgsl.expected.ir.msl
@@ -0,0 +1,39 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:679 internal compiler error: %b1 = block { # root
+ %arg_0:ptr<handle, texture_storage_2d_array<r32uint, read_write>, read> = var @binding_point(1, 0)
+}
+
+%textureStore_c35268 = func():void -> %b2 {
+ %b2 = block {
+ %3:texture_storage_2d_array<r32uint, read_write> = load %arg_0
+ %4:void = textureStore %3, vec2<u32>(1u), 1i, vec4<u32>(1u)
+ ret
+ }
+}
+%vertex_main = @vertex func():vec4<f32> [@position] -> %b3 {
+ %b3 = block {
+ %6:void = call %textureStore_c35268
+ ret vec4<f32>(0.0f)
+ }
+}
+%fragment_main = @fragment func():void -> %b4 {
+ %b4 = block {
+ %8:void = call %textureStore_c35268
+ ret
+ }
+}
+%compute_main = @compute @workgroup_size(1, 1, 1) func():void -> %b5 {
+ %b5 = block {
+ %10:void = call %textureStore_c35268
+ ret
+ }
+}
+
+invalid access control for storage texture
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/c5af1e.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/c5af1e.wgsl.expected.ir.msl
new file mode 100644
index 0000000..b38060a
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/c5af1e.wgsl.expected.ir.msl
@@ -0,0 +1,9 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:247 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/c63f05.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/c63f05.wgsl.expected.ir.msl
new file mode 100644
index 0000000..d5bf729
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/c63f05.wgsl.expected.ir.msl
@@ -0,0 +1,39 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:679 internal compiler error: %b1 = block { # root
+ %arg_0:ptr<handle, texture_storage_2d_array<rgba32sint, read_write>, read> = var @binding_point(1, 0)
+}
+
+%textureStore_c63f05 = func():void -> %b2 {
+ %b2 = block {
+ %3:texture_storage_2d_array<rgba32sint, read_write> = load %arg_0
+ %4:void = textureStore %3, vec2<u32>(1u), 1i, vec4<i32>(1i)
+ ret
+ }
+}
+%vertex_main = @vertex func():vec4<f32> [@position] -> %b3 {
+ %b3 = block {
+ %6:void = call %textureStore_c63f05
+ ret vec4<f32>(0.0f)
+ }
+}
+%fragment_main = @fragment func():void -> %b4 {
+ %b4 = block {
+ %8:void = call %textureStore_c63f05
+ ret
+ }
+}
+%compute_main = @compute @workgroup_size(1, 1, 1) func():void -> %b5 {
+ %b5 = block {
+ %10:void = call %textureStore_c63f05
+ ret
+ }
+}
+
+invalid access control for storage texture
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/c79451.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/c79451.wgsl.expected.ir.msl
new file mode 100644
index 0000000..f634cd3
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/c79451.wgsl.expected.ir.msl
@@ -0,0 +1,39 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:679 internal compiler error: %b1 = block { # root
+ %arg_0:ptr<handle, texture_storage_1d<rgba16sint, read_write>, read> = var @binding_point(1, 0)
+}
+
+%textureStore_c79451 = func():void -> %b2 {
+ %b2 = block {
+ %3:texture_storage_1d<rgba16sint, read_write> = load %arg_0
+ %4:void = textureStore %3, 1u, vec4<i32>(1i)
+ ret
+ }
+}
+%vertex_main = @vertex func():vec4<f32> [@position] -> %b3 {
+ %b3 = block {
+ %6:void = call %textureStore_c79451
+ ret vec4<f32>(0.0f)
+ }
+}
+%fragment_main = @fragment func():void -> %b4 {
+ %b4 = block {
+ %8:void = call %textureStore_c79451
+ ret
+ }
+}
+%compute_main = @compute @workgroup_size(1, 1, 1) func():void -> %b5 {
+ %b5 = block {
+ %10:void = call %textureStore_c79451
+ ret
+ }
+}
+
+invalid access control for storage texture
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/c863be.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/c863be.wgsl.expected.ir.msl
new file mode 100644
index 0000000..b38060a
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/c863be.wgsl.expected.ir.msl
@@ -0,0 +1,9 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:247 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/c9d780.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/c9d780.wgsl.expected.ir.msl
new file mode 100644
index 0000000..b38060a
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/c9d780.wgsl.expected.ir.msl
@@ -0,0 +1,9 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:247 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/cb3b0b.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/cb3b0b.wgsl.expected.ir.msl
new file mode 100644
index 0000000..b38060a
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/cb3b0b.wgsl.expected.ir.msl
@@ -0,0 +1,9 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:247 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/ccac20.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/ccac20.wgsl.expected.ir.msl
new file mode 100644
index 0000000..27adbd2
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/ccac20.wgsl.expected.ir.msl
@@ -0,0 +1,39 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:679 internal compiler error: %b1 = block { # root
+ %arg_0:ptr<handle, texture_storage_2d<rgba32float, read_write>, read> = var @binding_point(1, 0)
+}
+
+%textureStore_ccac20 = func():void -> %b2 {
+ %b2 = block {
+ %3:texture_storage_2d<rgba32float, read_write> = load %arg_0
+ %4:void = textureStore %3, vec2<u32>(1u), vec4<f32>(1.0f)
+ ret
+ }
+}
+%vertex_main = @vertex func():vec4<f32> [@position] -> %b3 {
+ %b3 = block {
+ %6:void = call %textureStore_ccac20
+ ret vec4<f32>(0.0f)
+ }
+}
+%fragment_main = @fragment func():void -> %b4 {
+ %b4 = block {
+ %8:void = call %textureStore_ccac20
+ ret
+ }
+}
+%compute_main = @compute @workgroup_size(1, 1, 1) func():void -> %b5 {
+ %b5 = block {
+ %10:void = call %textureStore_ccac20
+ ret
+ }
+}
+
+invalid access control for storage texture
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/cd6755.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/cd6755.wgsl.expected.ir.msl
new file mode 100644
index 0000000..b38060a
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/cd6755.wgsl.expected.ir.msl
@@ -0,0 +1,9 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:247 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/ceb832.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/ceb832.wgsl.expected.ir.msl
new file mode 100644
index 0000000..add810b
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/ceb832.wgsl.expected.ir.msl
@@ -0,0 +1,39 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:679 internal compiler error: %b1 = block { # root
+ %arg_0:ptr<handle, texture_storage_2d_array<r32sint, read_write>, read> = var @binding_point(1, 0)
+}
+
+%textureStore_ceb832 = func():void -> %b2 {
+ %b2 = block {
+ %3:texture_storage_2d_array<r32sint, read_write> = load %arg_0
+ %4:void = textureStore %3, vec2<u32>(1u), 1u, vec4<i32>(1i)
+ ret
+ }
+}
+%vertex_main = @vertex func():vec4<f32> [@position] -> %b3 {
+ %b3 = block {
+ %6:void = call %textureStore_ceb832
+ ret vec4<f32>(0.0f)
+ }
+}
+%fragment_main = @fragment func():void -> %b4 {
+ %b4 = block {
+ %8:void = call %textureStore_ceb832
+ ret
+ }
+}
+%compute_main = @compute @workgroup_size(1, 1, 1) func():void -> %b5 {
+ %b5 = block {
+ %10:void = call %textureStore_ceb832
+ ret
+ }
+}
+
+invalid access control for storage texture
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/d0d62c.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/d0d62c.wgsl.expected.ir.msl
new file mode 100644
index 0000000..46cf7be
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/d0d62c.wgsl.expected.ir.msl
@@ -0,0 +1,39 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:679 internal compiler error: %b1 = block { # root
+ %arg_0:ptr<handle, texture_storage_2d<rgba8uint, read_write>, read> = var @binding_point(1, 0)
+}
+
+%textureStore_d0d62c = func():void -> %b2 {
+ %b2 = block {
+ %3:texture_storage_2d<rgba8uint, read_write> = load %arg_0
+ %4:void = textureStore %3, vec2<i32>(1i), vec4<u32>(1u)
+ ret
+ }
+}
+%vertex_main = @vertex func():vec4<f32> [@position] -> %b3 {
+ %b3 = block {
+ %6:void = call %textureStore_d0d62c
+ ret vec4<f32>(0.0f)
+ }
+}
+%fragment_main = @fragment func():void -> %b4 {
+ %b4 = block {
+ %8:void = call %textureStore_d0d62c
+ ret
+ }
+}
+%compute_main = @compute @workgroup_size(1, 1, 1) func():void -> %b5 {
+ %b5 = block {
+ %10:void = call %textureStore_d0d62c
+ ret
+ }
+}
+
+invalid access control for storage texture
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/d0fadc.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/d0fadc.wgsl.expected.ir.msl
new file mode 100644
index 0000000..4285ab4
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/d0fadc.wgsl.expected.ir.msl
@@ -0,0 +1,39 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:679 internal compiler error: %b1 = block { # root
+ %arg_0:ptr<handle, texture_storage_2d_array<rgba8unorm, read_write>, read> = var @binding_point(1, 0)
+}
+
+%textureStore_d0fadc = func():void -> %b2 {
+ %b2 = block {
+ %3:texture_storage_2d_array<rgba8unorm, read_write> = load %arg_0
+ %4:void = textureStore %3, vec2<i32>(1i), 1u, vec4<f32>(1.0f)
+ ret
+ }
+}
+%vertex_main = @vertex func():vec4<f32> [@position] -> %b3 {
+ %b3 = block {
+ %6:void = call %textureStore_d0fadc
+ ret vec4<f32>(0.0f)
+ }
+}
+%fragment_main = @fragment func():void -> %b4 {
+ %b4 = block {
+ %8:void = call %textureStore_d0fadc
+ ret
+ }
+}
+%compute_main = @compute @workgroup_size(1, 1, 1) func():void -> %b5 {
+ %b5 = block {
+ %10:void = call %textureStore_d0fadc
+ ret
+ }
+}
+
+invalid access control for storage texture
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/d19db4.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/d19db4.wgsl.expected.ir.msl
new file mode 100644
index 0000000..2a108fa
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/d19db4.wgsl.expected.ir.msl
@@ -0,0 +1,39 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:679 internal compiler error: %b1 = block { # root
+ %arg_0:ptr<handle, texture_storage_3d<rg32sint, read_write>, read> = var @binding_point(1, 0)
+}
+
+%textureStore_d19db4 = func():void -> %b2 {
+ %b2 = block {
+ %3:texture_storage_3d<rg32sint, read_write> = load %arg_0
+ %4:void = textureStore %3, vec3<i32>(1i), vec4<i32>(1i)
+ ret
+ }
+}
+%vertex_main = @vertex func():vec4<f32> [@position] -> %b3 {
+ %b3 = block {
+ %6:void = call %textureStore_d19db4
+ ret vec4<f32>(0.0f)
+ }
+}
+%fragment_main = @fragment func():void -> %b4 {
+ %b4 = block {
+ %8:void = call %textureStore_d19db4
+ ret
+ }
+}
+%compute_main = @compute @workgroup_size(1, 1, 1) func():void -> %b5 {
+ %b5 = block {
+ %10:void = call %textureStore_d19db4
+ ret
+ }
+}
+
+invalid access control for storage texture
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/d1ab82.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/d1ab82.wgsl.expected.ir.msl
new file mode 100644
index 0000000..a0ae585
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/d1ab82.wgsl.expected.ir.msl
@@ -0,0 +1,39 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:679 internal compiler error: %b1 = block { # root
+ %arg_0:ptr<handle, texture_storage_2d<rgba8unorm, read_write>, read> = var @binding_point(1, 0)
+}
+
+%textureStore_d1ab82 = func():void -> %b2 {
+ %b2 = block {
+ %3:texture_storage_2d<rgba8unorm, read_write> = load %arg_0
+ %4:void = textureStore %3, vec2<i32>(1i), vec4<f32>(1.0f)
+ ret
+ }
+}
+%vertex_main = @vertex func():vec4<f32> [@position] -> %b3 {
+ %b3 = block {
+ %6:void = call %textureStore_d1ab82
+ ret vec4<f32>(0.0f)
+ }
+}
+%fragment_main = @fragment func():void -> %b4 {
+ %b4 = block {
+ %8:void = call %textureStore_d1ab82
+ ret
+ }
+}
+%compute_main = @compute @workgroup_size(1, 1, 1) func():void -> %b5 {
+ %b5 = block {
+ %10:void = call %textureStore_d1ab82
+ ret
+ }
+}
+
+invalid access control for storage texture
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/d26166.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/d26166.wgsl.expected.ir.msl
new file mode 100644
index 0000000..b38060a
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/d26166.wgsl.expected.ir.msl
@@ -0,0 +1,9 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:247 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/d2b565.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/d2b565.wgsl.expected.ir.msl
new file mode 100644
index 0000000..b38060a
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/d2b565.wgsl.expected.ir.msl
@@ -0,0 +1,9 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:247 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/d3a22b.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/d3a22b.wgsl.expected.ir.msl
new file mode 100644
index 0000000..1d82607
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/d3a22b.wgsl.expected.ir.msl
@@ -0,0 +1,39 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:679 internal compiler error: %b1 = block { # root
+ %arg_0:ptr<handle, texture_storage_3d<rgba32uint, read_write>, read> = var @binding_point(1, 0)
+}
+
+%textureStore_d3a22b = func():void -> %b2 {
+ %b2 = block {
+ %3:texture_storage_3d<rgba32uint, read_write> = load %arg_0
+ %4:void = textureStore %3, vec3<u32>(1u), vec4<u32>(1u)
+ ret
+ }
+}
+%vertex_main = @vertex func():vec4<f32> [@position] -> %b3 {
+ %b3 = block {
+ %6:void = call %textureStore_d3a22b
+ ret vec4<f32>(0.0f)
+ }
+}
+%fragment_main = @fragment func():void -> %b4 {
+ %b4 = block {
+ %8:void = call %textureStore_d3a22b
+ ret
+ }
+}
+%compute_main = @compute @workgroup_size(1, 1, 1) func():void -> %b5 {
+ %b5 = block {
+ %10:void = call %textureStore_d3a22b
+ ret
+ }
+}
+
+invalid access control for storage texture
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/d4aa95.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/d4aa95.wgsl.expected.ir.msl
new file mode 100644
index 0000000..b38060a
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/d4aa95.wgsl.expected.ir.msl
@@ -0,0 +1,9 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:247 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/d55e65.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/d55e65.wgsl.expected.ir.msl
new file mode 100644
index 0000000..b38060a
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/d55e65.wgsl.expected.ir.msl
@@ -0,0 +1,9 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:247 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/d73b5c.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/d73b5c.wgsl.expected.ir.msl
new file mode 100644
index 0000000..b38060a
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/d73b5c.wgsl.expected.ir.msl
@@ -0,0 +1,9 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:247 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/d82b0a.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/d82b0a.wgsl.expected.ir.msl
new file mode 100644
index 0000000..b38060a
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/d82b0a.wgsl.expected.ir.msl
@@ -0,0 +1,9 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:247 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/d86d33.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/d86d33.wgsl.expected.ir.msl
new file mode 100644
index 0000000..900ddc8
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/d86d33.wgsl.expected.ir.msl
@@ -0,0 +1,39 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:679 internal compiler error: %b1 = block { # root
+ %arg_0:ptr<handle, texture_storage_2d_array<rgba8snorm, read_write>, read> = var @binding_point(1, 0)
+}
+
+%textureStore_d86d33 = func():void -> %b2 {
+ %b2 = block {
+ %3:texture_storage_2d_array<rgba8snorm, read_write> = load %arg_0
+ %4:void = textureStore %3, vec2<u32>(1u), 1i, vec4<f32>(1.0f)
+ ret
+ }
+}
+%vertex_main = @vertex func():vec4<f32> [@position] -> %b3 {
+ %b3 = block {
+ %6:void = call %textureStore_d86d33
+ ret vec4<f32>(0.0f)
+ }
+}
+%fragment_main = @fragment func():void -> %b4 {
+ %b4 = block {
+ %8:void = call %textureStore_d86d33
+ ret
+ }
+}
+%compute_main = @compute @workgroup_size(1, 1, 1) func():void -> %b5 {
+ %b5 = block {
+ %10:void = call %textureStore_d86d33
+ ret
+ }
+}
+
+invalid access control for storage texture
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/da530c.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/da530c.wgsl.expected.ir.msl
new file mode 100644
index 0000000..6187531
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/da530c.wgsl.expected.ir.msl
@@ -0,0 +1,39 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:679 internal compiler error: %b1 = block { # root
+ %arg_0:ptr<handle, texture_storage_2d<rgba8sint, read_write>, read> = var @binding_point(1, 0)
+}
+
+%textureStore_da530c = func():void -> %b2 {
+ %b2 = block {
+ %3:texture_storage_2d<rgba8sint, read_write> = load %arg_0
+ %4:void = textureStore %3, vec2<u32>(1u), vec4<i32>(1i)
+ ret
+ }
+}
+%vertex_main = @vertex func():vec4<f32> [@position] -> %b3 {
+ %b3 = block {
+ %6:void = call %textureStore_da530c
+ ret vec4<f32>(0.0f)
+ }
+}
+%fragment_main = @fragment func():void -> %b4 {
+ %b4 = block {
+ %8:void = call %textureStore_da530c
+ ret
+ }
+}
+%compute_main = @compute @workgroup_size(1, 1, 1) func():void -> %b5 {
+ %b5 = block {
+ %10:void = call %textureStore_da530c
+ ret
+ }
+}
+
+invalid access control for storage texture
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/db5128.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/db5128.wgsl.expected.ir.msl
new file mode 100644
index 0000000..8e25e06
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/db5128.wgsl.expected.ir.msl
@@ -0,0 +1,39 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:679 internal compiler error: %b1 = block { # root
+ %arg_0:ptr<handle, texture_storage_2d_array<rgba16uint, read_write>, read> = var @binding_point(1, 0)
+}
+
+%textureStore_db5128 = func():void -> %b2 {
+ %b2 = block {
+ %3:texture_storage_2d_array<rgba16uint, read_write> = load %arg_0
+ %4:void = textureStore %3, vec2<i32>(1i), 1u, vec4<u32>(1u)
+ ret
+ }
+}
+%vertex_main = @vertex func():vec4<f32> [@position] -> %b3 {
+ %b3 = block {
+ %6:void = call %textureStore_db5128
+ ret vec4<f32>(0.0f)
+ }
+}
+%fragment_main = @fragment func():void -> %b4 {
+ %b4 = block {
+ %8:void = call %textureStore_db5128
+ ret
+ }
+}
+%compute_main = @compute @workgroup_size(1, 1, 1) func():void -> %b5 {
+ %b5 = block {
+ %10:void = call %textureStore_db5128
+ ret
+ }
+}
+
+invalid access control for storage texture
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/db92a2.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/db92a2.wgsl.expected.ir.msl
new file mode 100644
index 0000000..b38060a
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/db92a2.wgsl.expected.ir.msl
@@ -0,0 +1,9 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:247 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/dce0e2.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/dce0e2.wgsl.expected.ir.msl
new file mode 100644
index 0000000..a38f4a1
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/dce0e2.wgsl.expected.ir.msl
@@ -0,0 +1,39 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:679 internal compiler error: %b1 = block { # root
+ %arg_0:ptr<handle, texture_storage_2d_array<r32float, read_write>, read> = var @binding_point(1, 0)
+}
+
+%textureStore_dce0e2 = func():void -> %b2 {
+ %b2 = block {
+ %3:texture_storage_2d_array<r32float, read_write> = load %arg_0
+ %4:void = textureStore %3, vec2<u32>(1u), 1i, vec4<f32>(1.0f)
+ ret
+ }
+}
+%vertex_main = @vertex func():vec4<f32> [@position] -> %b3 {
+ %b3 = block {
+ %6:void = call %textureStore_dce0e2
+ ret vec4<f32>(0.0f)
+ }
+}
+%fragment_main = @fragment func():void -> %b4 {
+ %b4 = block {
+ %8:void = call %textureStore_dce0e2
+ ret
+ }
+}
+%compute_main = @compute @workgroup_size(1, 1, 1) func():void -> %b5 {
+ %b5 = block {
+ %10:void = call %textureStore_dce0e2
+ ret
+ }
+}
+
+invalid access control for storage texture
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/dd7d81.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/dd7d81.wgsl.expected.ir.msl
new file mode 100644
index 0000000..b38060a
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/dd7d81.wgsl.expected.ir.msl
@@ -0,0 +1,9 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:247 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/dd8b29.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/dd8b29.wgsl.expected.ir.msl
new file mode 100644
index 0000000..f018be1
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/dd8b29.wgsl.expected.ir.msl
@@ -0,0 +1,39 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:679 internal compiler error: %b1 = block { # root
+ %arg_0:ptr<handle, texture_storage_2d_array<rgba8uint, read_write>, read> = var @binding_point(1, 0)
+}
+
+%textureStore_dd8b29 = func():void -> %b2 {
+ %b2 = block {
+ %3:texture_storage_2d_array<rgba8uint, read_write> = load %arg_0
+ %4:void = textureStore %3, vec2<i32>(1i), 1i, vec4<u32>(1u)
+ ret
+ }
+}
+%vertex_main = @vertex func():vec4<f32> [@position] -> %b3 {
+ %b3 = block {
+ %6:void = call %textureStore_dd8b29
+ ret vec4<f32>(0.0f)
+ }
+}
+%fragment_main = @fragment func():void -> %b4 {
+ %b4 = block {
+ %8:void = call %textureStore_dd8b29
+ ret
+ }
+}
+%compute_main = @compute @workgroup_size(1, 1, 1) func():void -> %b5 {
+ %b5 = block {
+ %10:void = call %textureStore_dd8b29
+ ret
+ }
+}
+
+invalid access control for storage texture
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/dde364.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/dde364.wgsl.expected.ir.msl
new file mode 100644
index 0000000..b38060a
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/dde364.wgsl.expected.ir.msl
@@ -0,0 +1,9 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:247 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/de38e5.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/de38e5.wgsl.expected.ir.msl
new file mode 100644
index 0000000..8a069c1
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/de38e5.wgsl.expected.ir.msl
@@ -0,0 +1,39 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:679 internal compiler error: %b1 = block { # root
+ %arg_0:ptr<handle, texture_storage_3d<rgba8snorm, read_write>, read> = var @binding_point(1, 0)
+}
+
+%textureStore_de38e5 = func():void -> %b2 {
+ %b2 = block {
+ %3:texture_storage_3d<rgba8snorm, read_write> = load %arg_0
+ %4:void = textureStore %3, vec3<u32>(1u), vec4<f32>(1.0f)
+ ret
+ }
+}
+%vertex_main = @vertex func():vec4<f32> [@position] -> %b3 {
+ %b3 = block {
+ %6:void = call %textureStore_de38e5
+ ret vec4<f32>(0.0f)
+ }
+}
+%fragment_main = @fragment func():void -> %b4 {
+ %b4 = block {
+ %8:void = call %textureStore_de38e5
+ ret
+ }
+}
+%compute_main = @compute @workgroup_size(1, 1, 1) func():void -> %b5 {
+ %b5 = block {
+ %10:void = call %textureStore_de38e5
+ ret
+ }
+}
+
+invalid access control for storage texture
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/de4b94.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/de4b94.wgsl.expected.ir.msl
new file mode 100644
index 0000000..b38060a
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/de4b94.wgsl.expected.ir.msl
@@ -0,0 +1,9 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:247 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/df0c51.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/df0c51.wgsl.expected.ir.msl
new file mode 100644
index 0000000..d01c563
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/df0c51.wgsl.expected.ir.msl
@@ -0,0 +1,39 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:679 internal compiler error: %b1 = block { # root
+ %arg_0:ptr<handle, texture_storage_3d<r32sint, read_write>, read> = var @binding_point(1, 0)
+}
+
+%textureStore_df0c51 = func():void -> %b2 {
+ %b2 = block {
+ %3:texture_storage_3d<r32sint, read_write> = load %arg_0
+ %4:void = textureStore %3, vec3<u32>(1u), vec4<i32>(1i)
+ ret
+ }
+}
+%vertex_main = @vertex func():vec4<f32> [@position] -> %b3 {
+ %b3 = block {
+ %6:void = call %textureStore_df0c51
+ ret vec4<f32>(0.0f)
+ }
+}
+%fragment_main = @fragment func():void -> %b4 {
+ %b4 = block {
+ %8:void = call %textureStore_df0c51
+ ret
+ }
+}
+%compute_main = @compute @workgroup_size(1, 1, 1) func():void -> %b5 {
+ %b5 = block {
+ %10:void = call %textureStore_df0c51
+ ret
+ }
+}
+
+invalid access control for storage texture
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/df2ca4.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/df2ca4.wgsl.expected.ir.msl
new file mode 100644
index 0000000..b38060a
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/df2ca4.wgsl.expected.ir.msl
@@ -0,0 +1,9 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:247 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/dfa9a1.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/dfa9a1.wgsl.expected.ir.msl
new file mode 100644
index 0000000..b38060a
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/dfa9a1.wgsl.expected.ir.msl
@@ -0,0 +1,9 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:247 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/dffb13.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/dffb13.wgsl.expected.ir.msl
new file mode 100644
index 0000000..b38060a
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/dffb13.wgsl.expected.ir.msl
@@ -0,0 +1,9 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:247 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/e077e7.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/e077e7.wgsl.expected.ir.msl
new file mode 100644
index 0000000..96a14e9
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/e077e7.wgsl.expected.ir.msl
@@ -0,0 +1,39 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:679 internal compiler error: %b1 = block { # root
+ %arg_0:ptr<handle, texture_storage_1d<rg32sint, read_write>, read> = var @binding_point(1, 0)
+}
+
+%textureStore_e077e7 = func():void -> %b2 {
+ %b2 = block {
+ %3:texture_storage_1d<rg32sint, read_write> = load %arg_0
+ %4:void = textureStore %3, 1i, vec4<i32>(1i)
+ ret
+ }
+}
+%vertex_main = @vertex func():vec4<f32> [@position] -> %b3 {
+ %b3 = block {
+ %6:void = call %textureStore_e077e7
+ ret vec4<f32>(0.0f)
+ }
+}
+%fragment_main = @fragment func():void -> %b4 {
+ %b4 = block {
+ %8:void = call %textureStore_e077e7
+ ret
+ }
+}
+%compute_main = @compute @workgroup_size(1, 1, 1) func():void -> %b5 {
+ %b5 = block {
+ %10:void = call %textureStore_e077e7
+ ret
+ }
+}
+
+invalid access control for storage texture
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/e0b666.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/e0b666.wgsl.expected.ir.msl
new file mode 100644
index 0000000..b38060a
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/e0b666.wgsl.expected.ir.msl
@@ -0,0 +1,9 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:247 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/e1784d.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/e1784d.wgsl.expected.ir.msl
new file mode 100644
index 0000000..f790806
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/e1784d.wgsl.expected.ir.msl
@@ -0,0 +1,39 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:679 internal compiler error: %b1 = block { # root
+ %arg_0:ptr<handle, texture_storage_2d_array<rgba32float, read_write>, read> = var @binding_point(1, 0)
+}
+
+%textureStore_e1784d = func():void -> %b2 {
+ %b2 = block {
+ %3:texture_storage_2d_array<rgba32float, read_write> = load %arg_0
+ %4:void = textureStore %3, vec2<i32>(1i), 1u, vec4<f32>(1.0f)
+ ret
+ }
+}
+%vertex_main = @vertex func():vec4<f32> [@position] -> %b3 {
+ %b3 = block {
+ %6:void = call %textureStore_e1784d
+ ret vec4<f32>(0.0f)
+ }
+}
+%fragment_main = @fragment func():void -> %b4 {
+ %b4 = block {
+ %8:void = call %textureStore_e1784d
+ ret
+ }
+}
+%compute_main = @compute @workgroup_size(1, 1, 1) func():void -> %b5 {
+ %b5 = block {
+ %10:void = call %textureStore_e1784d
+ ret
+ }
+}
+
+invalid access control for storage texture
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/e38281.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/e38281.wgsl.expected.ir.msl
new file mode 100644
index 0000000..b38060a
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/e38281.wgsl.expected.ir.msl
@@ -0,0 +1,9 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:247 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/e46fd8.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/e46fd8.wgsl.expected.ir.msl
new file mode 100644
index 0000000..fd05964
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/e46fd8.wgsl.expected.ir.msl
@@ -0,0 +1,39 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:679 internal compiler error: %b1 = block { # root
+ %arg_0:ptr<handle, texture_storage_2d<bgra8unorm, read_write>, read> = var @binding_point(1, 0)
+}
+
+%textureStore_e46fd8 = func():void -> %b2 {
+ %b2 = block {
+ %3:texture_storage_2d<bgra8unorm, read_write> = load %arg_0
+ %4:void = textureStore %3, vec2<u32>(1u), vec4<f32>(1.0f)
+ ret
+ }
+}
+%vertex_main = @vertex func():vec4<f32> [@position] -> %b3 {
+ %b3 = block {
+ %6:void = call %textureStore_e46fd8
+ ret vec4<f32>(0.0f)
+ }
+}
+%fragment_main = @fragment func():void -> %b4 {
+ %b4 = block {
+ %8:void = call %textureStore_e46fd8
+ ret
+ }
+}
+%compute_main = @compute @workgroup_size(1, 1, 1) func():void -> %b5 {
+ %b5 = block {
+ %10:void = call %textureStore_e46fd8
+ ret
+ }
+}
+
+invalid access control for storage texture
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/e72bdc.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/e72bdc.wgsl.expected.ir.msl
new file mode 100644
index 0000000..dd00705
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/e72bdc.wgsl.expected.ir.msl
@@ -0,0 +1,39 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:679 internal compiler error: %b1 = block { # root
+ %arg_0:ptr<handle, texture_storage_2d_array<rgba16float, read_write>, read> = var @binding_point(1, 0)
+}
+
+%textureStore_e72bdc = func():void -> %b2 {
+ %b2 = block {
+ %3:texture_storage_2d_array<rgba16float, read_write> = load %arg_0
+ %4:void = textureStore %3, vec2<i32>(1i), 1u, vec4<f32>(1.0f)
+ ret
+ }
+}
+%vertex_main = @vertex func():vec4<f32> [@position] -> %b3 {
+ %b3 = block {
+ %6:void = call %textureStore_e72bdc
+ ret vec4<f32>(0.0f)
+ }
+}
+%fragment_main = @fragment func():void -> %b4 {
+ %b4 = block {
+ %8:void = call %textureStore_e72bdc
+ ret
+ }
+}
+%compute_main = @compute @workgroup_size(1, 1, 1) func():void -> %b5 {
+ %b5 = block {
+ %10:void = call %textureStore_e72bdc
+ ret
+ }
+}
+
+invalid access control for storage texture
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/e7c6d8.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/e7c6d8.wgsl.expected.ir.msl
new file mode 100644
index 0000000..b38060a
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/e7c6d8.wgsl.expected.ir.msl
@@ -0,0 +1,9 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:247 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/e87f6e.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/e87f6e.wgsl.expected.ir.msl
new file mode 100644
index 0000000..b46bb3e
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/e87f6e.wgsl.expected.ir.msl
@@ -0,0 +1,39 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:679 internal compiler error: %b1 = block { # root
+ %arg_0:ptr<handle, texture_storage_1d<rgba16sint, read_write>, read> = var @binding_point(1, 0)
+}
+
+%textureStore_e87f6e = func():void -> %b2 {
+ %b2 = block {
+ %3:texture_storage_1d<rgba16sint, read_write> = load %arg_0
+ %4:void = textureStore %3, 1i, vec4<i32>(1i)
+ ret
+ }
+}
+%vertex_main = @vertex func():vec4<f32> [@position] -> %b3 {
+ %b3 = block {
+ %6:void = call %textureStore_e87f6e
+ ret vec4<f32>(0.0f)
+ }
+}
+%fragment_main = @fragment func():void -> %b4 {
+ %b4 = block {
+ %8:void = call %textureStore_e87f6e
+ ret
+ }
+}
+%compute_main = @compute @workgroup_size(1, 1, 1) func():void -> %b5 {
+ %b5 = block {
+ %10:void = call %textureStore_e87f6e
+ ret
+ }
+}
+
+invalid access control for storage texture
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/e885e8.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/e885e8.wgsl.expected.ir.msl
new file mode 100644
index 0000000..b38060a
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/e885e8.wgsl.expected.ir.msl
@@ -0,0 +1,9 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:247 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/e8cbf7.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/e8cbf7.wgsl.expected.ir.msl
new file mode 100644
index 0000000..b38060a
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/e8cbf7.wgsl.expected.ir.msl
@@ -0,0 +1,9 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:247 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/ea30d2.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/ea30d2.wgsl.expected.ir.msl
new file mode 100644
index 0000000..93fdd90
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/ea30d2.wgsl.expected.ir.msl
@@ -0,0 +1,39 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:679 internal compiler error: %b1 = block { # root
+ %arg_0:ptr<handle, texture_storage_2d_array<rg32sint, read_write>, read> = var @binding_point(1, 0)
+}
+
+%textureStore_ea30d2 = func():void -> %b2 {
+ %b2 = block {
+ %3:texture_storage_2d_array<rg32sint, read_write> = load %arg_0
+ %4:void = textureStore %3, vec2<u32>(1u), 1i, vec4<i32>(1i)
+ ret
+ }
+}
+%vertex_main = @vertex func():vec4<f32> [@position] -> %b3 {
+ %b3 = block {
+ %6:void = call %textureStore_ea30d2
+ ret vec4<f32>(0.0f)
+ }
+}
+%fragment_main = @fragment func():void -> %b4 {
+ %b4 = block {
+ %8:void = call %textureStore_ea30d2
+ ret
+ }
+}
+%compute_main = @compute @workgroup_size(1, 1, 1) func():void -> %b5 {
+ %b5 = block {
+ %10:void = call %textureStore_ea30d2
+ ret
+ }
+}
+
+invalid access control for storage texture
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/eb702f.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/eb702f.wgsl.expected.ir.msl
new file mode 100644
index 0000000..b38060a
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/eb702f.wgsl.expected.ir.msl
@@ -0,0 +1,9 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:247 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/eb78b9.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/eb78b9.wgsl.expected.ir.msl
new file mode 100644
index 0000000..b38060a
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/eb78b9.wgsl.expected.ir.msl
@@ -0,0 +1,9 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:247 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/ee6acc.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/ee6acc.wgsl.expected.ir.msl
new file mode 100644
index 0000000..b38060a
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/ee6acc.wgsl.expected.ir.msl
@@ -0,0 +1,9 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:247 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/ef9f2f.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/ef9f2f.wgsl.expected.ir.msl
new file mode 100644
index 0000000..b38060a
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/ef9f2f.wgsl.expected.ir.msl
@@ -0,0 +1,9 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:247 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/f05928.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/f05928.wgsl.expected.ir.msl
new file mode 100644
index 0000000..361138b
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/f05928.wgsl.expected.ir.msl
@@ -0,0 +1,39 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:679 internal compiler error: %b1 = block { # root
+ %arg_0:ptr<handle, texture_storage_2d_array<rgba32sint, read_write>, read> = var @binding_point(1, 0)
+}
+
+%textureStore_f05928 = func():void -> %b2 {
+ %b2 = block {
+ %3:texture_storage_2d_array<rgba32sint, read_write> = load %arg_0
+ %4:void = textureStore %3, vec2<i32>(1i), 1u, vec4<i32>(1i)
+ ret
+ }
+}
+%vertex_main = @vertex func():vec4<f32> [@position] -> %b3 {
+ %b3 = block {
+ %6:void = call %textureStore_f05928
+ ret vec4<f32>(0.0f)
+ }
+}
+%fragment_main = @fragment func():void -> %b4 {
+ %b4 = block {
+ %8:void = call %textureStore_f05928
+ ret
+ }
+}
+%compute_main = @compute @workgroup_size(1, 1, 1) func():void -> %b5 {
+ %b5 = block {
+ %10:void = call %textureStore_f05928
+ ret
+ }
+}
+
+invalid access control for storage texture
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/f1e6d3.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/f1e6d3.wgsl.expected.ir.msl
new file mode 100644
index 0000000..b38060a
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/f1e6d3.wgsl.expected.ir.msl
@@ -0,0 +1,9 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:247 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/f64d69.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/f64d69.wgsl.expected.ir.msl
new file mode 100644
index 0000000..25840cf
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/f64d69.wgsl.expected.ir.msl
@@ -0,0 +1,39 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:679 internal compiler error: %b1 = block { # root
+ %arg_0:ptr<handle, texture_storage_1d<r32sint, read_write>, read> = var @binding_point(1, 0)
+}
+
+%textureStore_f64d69 = func():void -> %b2 {
+ %b2 = block {
+ %3:texture_storage_1d<r32sint, read_write> = load %arg_0
+ %4:void = textureStore %3, 1i, vec4<i32>(1i)
+ ret
+ }
+}
+%vertex_main = @vertex func():vec4<f32> [@position] -> %b3 {
+ %b3 = block {
+ %6:void = call %textureStore_f64d69
+ ret vec4<f32>(0.0f)
+ }
+}
+%fragment_main = @fragment func():void -> %b4 {
+ %b4 = block {
+ %8:void = call %textureStore_f64d69
+ ret
+ }
+}
+%compute_main = @compute @workgroup_size(1, 1, 1) func():void -> %b5 {
+ %b5 = block {
+ %10:void = call %textureStore_f64d69
+ ret
+ }
+}
+
+invalid access control for storage texture
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/f6f392.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/f6f392.wgsl.expected.ir.msl
new file mode 100644
index 0000000..57335aa
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/f6f392.wgsl.expected.ir.msl
@@ -0,0 +1,39 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:679 internal compiler error: %b1 = block { # root
+ %arg_0:ptr<handle, texture_storage_2d_array<rgba8unorm, read_write>, read> = var @binding_point(1, 0)
+}
+
+%textureStore_f6f392 = func():void -> %b2 {
+ %b2 = block {
+ %3:texture_storage_2d_array<rgba8unorm, read_write> = load %arg_0
+ %4:void = textureStore %3, vec2<u32>(1u), 1i, vec4<f32>(1.0f)
+ ret
+ }
+}
+%vertex_main = @vertex func():vec4<f32> [@position] -> %b3 {
+ %b3 = block {
+ %6:void = call %textureStore_f6f392
+ ret vec4<f32>(0.0f)
+ }
+}
+%fragment_main = @fragment func():void -> %b4 {
+ %b4 = block {
+ %8:void = call %textureStore_f6f392
+ ret
+ }
+}
+%compute_main = @compute @workgroup_size(1, 1, 1) func():void -> %b5 {
+ %b5 = block {
+ %10:void = call %textureStore_f6f392
+ ret
+ }
+}
+
+invalid access control for storage texture
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/f8aaf9.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/f8aaf9.wgsl.expected.ir.msl
new file mode 100644
index 0000000..3352751
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/f8aaf9.wgsl.expected.ir.msl
@@ -0,0 +1,39 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:679 internal compiler error: %b1 = block { # root
+ %arg_0:ptr<handle, texture_storage_2d_array<rgba32sint, read_write>, read> = var @binding_point(1, 0)
+}
+
+%textureStore_f8aaf9 = func():void -> %b2 {
+ %b2 = block {
+ %3:texture_storage_2d_array<rgba32sint, read_write> = load %arg_0
+ %4:void = textureStore %3, vec2<i32>(1i), 1i, vec4<i32>(1i)
+ ret
+ }
+}
+%vertex_main = @vertex func():vec4<f32> [@position] -> %b3 {
+ %b3 = block {
+ %6:void = call %textureStore_f8aaf9
+ ret vec4<f32>(0.0f)
+ }
+}
+%fragment_main = @fragment func():void -> %b4 {
+ %b4 = block {
+ %8:void = call %textureStore_f8aaf9
+ ret
+ }
+}
+%compute_main = @compute @workgroup_size(1, 1, 1) func():void -> %b5 {
+ %b5 = block {
+ %10:void = call %textureStore_f8aaf9
+ ret
+ }
+}
+
+invalid access control for storage texture
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/f8dead.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/f8dead.wgsl.expected.ir.msl
new file mode 100644
index 0000000..b38060a
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/f8dead.wgsl.expected.ir.msl
@@ -0,0 +1,9 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:247 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/f975a0.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/f975a0.wgsl.expected.ir.msl
new file mode 100644
index 0000000..b408839
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/f975a0.wgsl.expected.ir.msl
@@ -0,0 +1,39 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:679 internal compiler error: %b1 = block { # root
+ %arg_0:ptr<handle, texture_storage_2d<rgba8snorm, read_write>, read> = var @binding_point(1, 0)
+}
+
+%textureStore_f975a0 = func():void -> %b2 {
+ %b2 = block {
+ %3:texture_storage_2d<rgba8snorm, read_write> = load %arg_0
+ %4:void = textureStore %3, vec2<i32>(1i), vec4<f32>(1.0f)
+ ret
+ }
+}
+%vertex_main = @vertex func():vec4<f32> [@position] -> %b3 {
+ %b3 = block {
+ %6:void = call %textureStore_f975a0
+ ret vec4<f32>(0.0f)
+ }
+}
+%fragment_main = @fragment func():void -> %b4 {
+ %b4 = block {
+ %8:void = call %textureStore_f975a0
+ ret
+ }
+}
+%compute_main = @compute @workgroup_size(1, 1, 1) func():void -> %b5 {
+ %b5 = block {
+ %10:void = call %textureStore_f975a0
+ ret
+ }
+}
+
+invalid access control for storage texture
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/f9be83.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/f9be83.wgsl.expected.ir.msl
new file mode 100644
index 0000000..b38060a
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/f9be83.wgsl.expected.ir.msl
@@ -0,0 +1,9 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:247 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/fb9a8f.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/fb9a8f.wgsl.expected.ir.msl
new file mode 100644
index 0000000..b38060a
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/fb9a8f.wgsl.expected.ir.msl
@@ -0,0 +1,9 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:247 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/fbf53f.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/fbf53f.wgsl.expected.ir.msl
new file mode 100644
index 0000000..b38060a
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/fbf53f.wgsl.expected.ir.msl
@@ -0,0 +1,9 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:247 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/fc916e.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/fc916e.wgsl.expected.ir.msl
new file mode 100644
index 0000000..27605a4
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/fc916e.wgsl.expected.ir.msl
@@ -0,0 +1,39 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:679 internal compiler error: %b1 = block { # root
+ %arg_0:ptr<handle, texture_storage_2d_array<rgba32uint, read_write>, read> = var @binding_point(1, 0)
+}
+
+%textureStore_fc916e = func():void -> %b2 {
+ %b2 = block {
+ %3:texture_storage_2d_array<rgba32uint, read_write> = load %arg_0
+ %4:void = textureStore %3, vec2<u32>(1u), 1i, vec4<u32>(1u)
+ ret
+ }
+}
+%vertex_main = @vertex func():vec4<f32> [@position] -> %b3 {
+ %b3 = block {
+ %6:void = call %textureStore_fc916e
+ ret vec4<f32>(0.0f)
+ }
+}
+%fragment_main = @fragment func():void -> %b4 {
+ %b4 = block {
+ %8:void = call %textureStore_fc916e
+ ret
+ }
+}
+%compute_main = @compute @workgroup_size(1, 1, 1) func():void -> %b5 {
+ %b5 = block {
+ %10:void = call %textureStore_fc916e
+ ret
+ }
+}
+
+invalid access control for storage texture
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/fcbe66.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/fcbe66.wgsl.expected.ir.msl
new file mode 100644
index 0000000..b38060a
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/fcbe66.wgsl.expected.ir.msl
@@ -0,0 +1,9 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:247 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/fd350c.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/fd350c.wgsl.expected.ir.msl
new file mode 100644
index 0000000..b38060a
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/fd350c.wgsl.expected.ir.msl
@@ -0,0 +1,9 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:247 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************
diff --git a/test/tint/builtins/gen/literal/textureStore/ff23b3.wgsl.expected.ir.msl b/test/tint/builtins/gen/literal/textureStore/ff23b3.wgsl.expected.ir.msl
new file mode 100644
index 0000000..999f7d5
--- /dev/null
+++ b/test/tint/builtins/gen/literal/textureStore/ff23b3.wgsl.expected.ir.msl
@@ -0,0 +1,39 @@
+SKIP: FAILED
+
+<dawn>/src/tint/lang/msl/writer/printer/printer.cc:679 internal compiler error: %b1 = block { # root
+ %arg_0:ptr<handle, texture_storage_1d<rgba16uint, read_write>, read> = var @binding_point(1, 0)
+}
+
+%textureStore_ff23b3 = func():void -> %b2 {
+ %b2 = block {
+ %3:texture_storage_1d<rgba16uint, read_write> = load %arg_0
+ %4:void = textureStore %3, 1i, vec4<u32>(1u)
+ ret
+ }
+}
+%vertex_main = @vertex func():vec4<f32> [@position] -> %b3 {
+ %b3 = block {
+ %6:void = call %textureStore_ff23b3
+ ret vec4<f32>(0.0f)
+ }
+}
+%fragment_main = @fragment func():void -> %b4 {
+ %b4 = block {
+ %8:void = call %textureStore_ff23b3
+ ret
+ }
+}
+%compute_main = @compute @workgroup_size(1, 1, 1) func():void -> %b5 {
+ %b5 = block {
+ %10:void = call %textureStore_ff23b3
+ ret
+ }
+}
+
+invalid access control for storage texture
+********************************************************************
+* The tint shader compiler has encountered an unexpected error. *
+* *
+* Please help us fix this issue by submitting a bug report at *
+* crbug.com/tint with the source program that triggered the bug. *
+********************************************************************