blob: 8b710b7c8bcc53171f3e603fc2557f18c9e30516 [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_depth_cube_array, read> = var @binding_point(1, 0)
5 %arg_1:ptr<handle, sampler_comparison, read> = var @binding_point(1, 1)
6 %prevent_dce:ptr<storage, f32, read_write> = var @binding_point(2, 0)
7}
8
9%textureSampleCompare_a3ca7e = func():void -> %b2 {
10 %b2 = block {
11 %5:texture_depth_cube_array = load %arg_0
12 %6:sampler_comparison = load %arg_1
13 %7:f32 = textureSampleCompare %5, %6, vec3<f32>(1.0f), 1i, 1.0f
14 %res:ptr<function, f32, read_write> = var, %7
15 %9:f32 = load %res
16 store %prevent_dce, %9
17 ret
18 }
19}
20%fragment_main = @fragment func():void -> %b3 {
21 %b3 = block {
22 %11:void = call %textureSampleCompare_a3ca7e
23 ret
24 }
25}
26
27unhandled variable address space
28********************************************************************
29* The tint shader compiler has encountered an unexpected error. *
30* *
31* Please help us fix this issue by submitting a bug report at *
32* crbug.com/tint with the source program that triggered the bug. *
33********************************************************************