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