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_3d<u32>, read> = var @binding_point(1, 0) |
| 5 | %prevent_dce:ptr<storage, vec4<u32>, read_write> = var @binding_point(2, 0) |
| 6 | } |
| 7 | |
James Price | a30f8dd | 2024-05-10 14:31:43 +0000 | [diff] [blame] | 8 | %textureLoad_6bf4b7 = func():void { |
| 9 | $B2: { |
dan sinclair | f1f381a | 2023-11-22 09:44:15 +0000 | [diff] [blame] | 10 | %arg_1:ptr<function, vec3<i32>, read_write> = var, vec3<i32>(1i) |
| 11 | %arg_2:ptr<function, u32, read_write> = var, 1u |
| 12 | %6:texture_3d<u32> = load %arg_0 |
| 13 | %7:vec3<i32> = load %arg_1 |
| 14 | %8:u32 = load %arg_2 |
| 15 | %9:vec4<u32> = textureLoad %6, %7, %8 |
| 16 | %res:ptr<function, vec4<u32>, read_write> = var, %9 |
| 17 | %11:vec4<u32> = load %res |
| 18 | store %prevent_dce, %11 |
| 19 | ret |
| 20 | } |
| 21 | } |
James Price | a30f8dd | 2024-05-10 14:31:43 +0000 | [diff] [blame] | 22 | %vertex_main = @vertex func():vec4<f32> [@position] { |
| 23 | $B3: { |
dan sinclair | f1f381a | 2023-11-22 09:44:15 +0000 | [diff] [blame] | 24 | %13:void = call %textureLoad_6bf4b7 |
| 25 | ret vec4<f32>(0.0f) |
| 26 | } |
| 27 | } |
James Price | a30f8dd | 2024-05-10 14:31:43 +0000 | [diff] [blame] | 28 | %fragment_main = @fragment func():void { |
| 29 | $B4: { |
dan sinclair | f1f381a | 2023-11-22 09:44:15 +0000 | [diff] [blame] | 30 | %15:void = call %textureLoad_6bf4b7 |
| 31 | ret |
| 32 | } |
| 33 | } |
James Price | a30f8dd | 2024-05-10 14:31:43 +0000 | [diff] [blame] | 34 | %compute_main = @compute @workgroup_size(1, 1, 1) func():void { |
| 35 | $B5: { |
dan sinclair | f1f381a | 2023-11-22 09:44:15 +0000 | [diff] [blame] | 36 | %17:void = call %textureLoad_6bf4b7 |
| 37 | ret |
| 38 | } |
| 39 | } |
| 40 | |
| 41 | unhandled 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 | ******************************************************************** |