dan sinclair | f1f381a | 2023-11-22 09:44:15 +0000 | [diff] [blame] | 1 | SKIP: FAILED |
| 2 | |
James Price | a30f8dd | 2024-05-10 14:31:43 +0000 | [diff] [blame] | 3 | ../../src/tint/lang/msl/writer/printer/printer.cc:500 internal compiler error: $B1: { # root |
dan sinclair | f1f381a | 2023-11-22 09:44:15 +0000 | [diff] [blame] | 4 | %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 Price | a30f8dd | 2024-05-10 14:31:43 +0000 | [diff] [blame] | 9 | %textureSample_60bf45 = func():void { |
| 10 | $B2: { |
dan sinclair | f1f381a | 2023-11-22 09:44:15 +0000 | [diff] [blame] | 11 | %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 Price | a30f8dd | 2024-05-10 14:31:43 +0000 | [diff] [blame] | 20 | %fragment_main = @fragment func():void { |
| 21 | $B3: { |
dan sinclair | f1f381a | 2023-11-22 09:44:15 +0000 | [diff] [blame] | 22 | %11:void = call %textureSample_60bf45 |
| 23 | ret |
| 24 | } |
| 25 | } |
| 26 | |
| 27 | unhandled 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 | ******************************************************************** |