blob: dc149454656e5bb685c0ffe8b39334eac76477de [file] [log] [blame]
dan sinclairf1f381a2023-11-22 09:44:15 +00001SKIP: FAILED
2
dan sinclairb4697b762023-11-24 09:42:19 +00003<dawn>/src/tint/lang/msl/writer/printer/printer.cc:469 internal compiler error: %b1 = block { # root
dan sinclairf1f381a2023-11-22 09:44:15 +00004 %arg_0:ptr<handle, texture_storage_1d<rgba16sint, read>, read> = var @binding_point(1, 0)
5 %prevent_dce:ptr<storage, vec4<i32>, read_write> = var @binding_point(2, 0)
6}
7
8%textureLoad_6678b6 = func():void -> %b2 {
9 %b2 = block {
10 %4:texture_storage_1d<rgba16sint, read> = load %arg_0
11 %5:vec4<i32> = textureLoad %4, 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}
18%vertex_main = @vertex func():vec4<f32> [@position] -> %b3 {
19 %b3 = block {
20 %9:void = call %textureLoad_6678b6
21 ret vec4<f32>(0.0f)
22 }
23}
24%fragment_main = @fragment func():void -> %b4 {
25 %b4 = block {
26 %11:void = call %textureLoad_6678b6
27 ret
28 }
29}
30%compute_main = @compute @workgroup_size(1, 1, 1) func():void -> %b5 {
31 %b5 = block {
32 %13:void = call %textureLoad_6678b6
33 ret
34 }
35}
36
37unhandled variable address space
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********************************************************************