blob: 03697ed2706e505ef30965db1d93c3e058cc3abf [file] [log] [blame]
dan sinclairf1f381a2023-11-22 09:44:15 +00001SKIP: FAILED
2
James Pricea30f8dd2024-05-10 14:31:43 +00003../../src/tint/lang/msl/writer/printer/printer.cc:500 internal compiler error: $B1: { # root
dan sinclairf1f381a2023-11-22 09:44:15 +00004 %arg_0:ptr<handle, texture_depth_2d_array, read> = var @binding_point(1, 0)
5 %arg_1:ptr<handle, sampler, read> = var @binding_point(1, 1)
6 %prevent_dce:ptr<storage, f32, read_write> = var @binding_point(2, 0)
7}
8
James Pricea30f8dd2024-05-10 14:31:43 +00009%textureSample_60bf45 = func():void {
10 $B2: {
dan sinclairf1f381a2023-11-22 09:44:15 +000011 %5:texture_depth_2d_array = load %arg_0
12 %6:sampler = load %arg_1
13 %7:f32 = textureSample %5, %6, vec2<f32>(1.0f), 1i, vec2<i32>(1i)
14 %res:ptr<function, f32, read_write> = var, %7
15 %9:f32 = load %res
16 store %prevent_dce, %9
17 ret
18 }
19}
James Pricea30f8dd2024-05-10 14:31:43 +000020%fragment_main = @fragment func():void {
21 $B3: {
dan sinclairf1f381a2023-11-22 09:44:15 +000022 %11:void = call %textureSample_60bf45
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********************************************************************