blob: 734379d81922ca69fdce61c2c3e77d953944ee93 [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, vec2<f16>, read_write> = var @binding_point(2, 0)
5}
6
7%refract_570cb3 = func():void -> %b2 {
8 %b2 = block {
9 %res:ptr<function, vec2<f16>, read_write> = var, vec2<f16>(-3.0h)
10 %4:vec2<f16> = load %res
11 store %prevent_dce, %4
12 ret
13 }
14}
15%vertex_main = @vertex func():vec4<f32> [@position] -> %b3 {
16 %b3 = block {
17 %6:void = call %refract_570cb3
18 ret vec4<f32>(0.0f)
19 }
20}
21%fragment_main = @fragment func():void -> %b4 {
22 %b4 = block {
23 %8:void = call %refract_570cb3
24 ret
25 }
26}
27%compute_main = @compute @workgroup_size(1, 1, 1) func():void -> %b5 {
28 %b5 = block {
29 %10:void = call %refract_570cb3
30 ret
31 }
32}
33
34unhandled variable address space
35********************************************************************
36* The tint shader compiler has encountered an unexpected error. *
37* *
38* Please help us fix this issue by submitting a bug report at *
39* crbug.com/tint with the source program that triggered the bug. *
40********************************************************************