blob: 50467d170c777b50285625190f5cca9f3ec972ab [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 %prevent_dce:ptr<storage, f16, read_write> = var @binding_point(2, 0)
5}
6
7%exp_c18fe9 = func():void -> %b2 {
8 %b2 = block {
9 %arg_0:ptr<function, f16, read_write> = var, 1.0h
10 %4:f16 = load %arg_0
11 %5:f16 = exp %4
12 %res:ptr<function, f16, read_write> = var, %5
13 %7:f16 = 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 %exp_c18fe9
21 ret vec4<f32>(0.0f)
22 }
23}
24%fragment_main = @fragment func():void -> %b4 {
25 %b4 = block {
26 %11:void = call %exp_c18fe9
27 ret
28 }
29}
30%compute_main = @compute @workgroup_size(1, 1, 1) func():void -> %b5 {
31 %b5 = block {
32 %13:void = call %exp_c18fe9
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********************************************************************