blob: 6ac40285f699a37ceeb3dd17bac466bbf1fe24ce [file] [log] [blame]
dan sinclairf1f381a2023-11-22 09:44:15 +00001SKIP: FAILED
2
James Pricea30f8dd2024-05-10 14:31:43 +00003../../src/tint/lang/msl/writer/printer/printer.cc:1164 internal compiler error: $B1: { # root
dan sinclairf1f381a2023-11-22 09:44:15 +00004 %arg_0:ptr<handle, texture_storage_3d<rgba16sint, read_write>, read> = var @binding_point(1, 0)
5 %prevent_dce:ptr<storage, vec4<i32>, read_write> = var @binding_point(2, 0)
6}
7
James Pricea30f8dd2024-05-10 14:31:43 +00008%textureLoad_03e03e = func():void {
9 $B2: {
dan sinclairf1f381a2023-11-22 09:44:15 +000010 %4:texture_storage_3d<rgba16sint, read_write> = load %arg_0
11 %5:vec4<i32> = textureLoad %4, vec3<i32>(1i)
12 %res:ptr<function, vec4<i32>, read_write> = var, %5
13 %7:vec4<i32> = load %res
14 store %prevent_dce, %7
15 ret
16 }
17}
James Pricea30f8dd2024-05-10 14:31:43 +000018%vertex_main = @vertex func():vec4<f32> [@position] {
19 $B3: {
dan sinclairf1f381a2023-11-22 09:44:15 +000020 %9:void = call %textureLoad_03e03e
21 ret vec4<f32>(0.0f)
22 }
23}
James Pricea30f8dd2024-05-10 14:31:43 +000024%fragment_main = @fragment func():void {
25 $B4: {
dan sinclairf1f381a2023-11-22 09:44:15 +000026 %11:void = call %textureLoad_03e03e
27 ret
28 }
29}
James Pricea30f8dd2024-05-10 14:31:43 +000030%compute_main = @compute @workgroup_size(1, 1, 1) func():void {
31 $B5: {
dan sinclairf1f381a2023-11-22 09:44:15 +000032 %13:void = call %textureLoad_03e03e
33 ret
34 }
35}
36
37invalid access control for storage texture
38********************************************************************
39* The tint shader compiler has encountered an unexpected error. *
40* *
41* Please help us fix this issue by submitting a bug report at *
42* crbug.com/tint with the source program that triggered the bug. *
43********************************************************************