| SKIP: FAILED |
| |
| ../../src/tint/lang/msl/writer/printer/printer.cc:500 internal compiler error: doesNotMatter = struct @align(4) { |
| x_compute_data:array<f32> @offset(0) |
| } |
| |
| $B1: { # root |
| %x_9:ptr<storage, doesNotMatter, read_write> = var @binding_point(0, 0) |
| } |
| |
| %nb_mod_ = func():f32 { |
| $B2: { |
| %s:ptr<function, f32, read_write> = var |
| %i:ptr<function, i32, read_write> = var |
| %GLF_live1i:ptr<function, i32, read_write> = var |
| %GLF_live1_looplimiter2:ptr<function, i32, read_write> = var |
| %x_51:ptr<function, f32, read_write> = var |
| %x_56_phi:ptr<function, f32, read_write> = var |
| store %s, 0.0f |
| store %i, 5i |
| loop [b: $B3] { # loop_1 |
| $B3: { # body |
| %x_50:ptr<function, f32, read_write> = var |
| %x_51_phi:ptr<function, f32, read_write> = var |
| store %x_56_phi, 0.0f |
| if true [t: $B4, f: $B5] { # if_1 |
| $B4: { # true |
| exit_if # if_1 |
| } |
| $B5: { # false |
| exit_loop # loop_1 |
| } |
| } |
| store %GLF_live1i, 0i |
| loop [b: $B6] { # loop_2 |
| $B6: { # body |
| store %x_51_phi, 0.0f |
| if true [t: $B7, f: $B8] { # if_2 |
| $B7: { # true |
| exit_if # if_2 |
| } |
| $B8: { # false |
| exit_loop # loop_2 |
| } |
| } |
| if false [t: $B9] { # if_3 |
| $B9: { # true |
| store %x_50, 1.0f |
| %11:f32 = load %x_50 |
| store %s, %11 |
| %12:f32 = load %x_50 |
| store %x_51_phi, %12 |
| exit_loop # loop_2 |
| } |
| } |
| ret 42.0f |
| } |
| } |
| %13:f32 = load %x_51_phi |
| store %x_51, %13 |
| %14:f32 = load %x_51 |
| %15:bool = lte 5.0f, %14 |
| if %15 [t: $B10] { # if_4 |
| $B10: { # true |
| %16:f32 = load %x_51 |
| store %x_56_phi, %16 |
| exit_loop # loop_1 |
| } |
| } |
| ret 42.0f |
| } |
| } |
| %17:f32 = load %x_56_phi |
| %x_56:f32 = let %17 |
| ret %x_56 |
| } |
| } |
| %main_1 = func():void { |
| $B11: { |
| %20:f32 = call %nb_mod_ |
| %x_32:f32 = let %20 |
| %22:ptr<storage, f32, read_write> = access %x_9, 0u, 0i |
| store %22, %x_32 |
| ret |
| } |
| } |
| %tint_symbol = @compute @workgroup_size(1, 1, 1) func():void { |
| $B12: { |
| %24:void = call %main_1 |
| ret |
| } |
| } |
| |
| unhandled variable address space |
| ******************************************************************** |
| * The tint shader compiler has encountered an unexpected error. * |
| * * |
| * Please help us fix this issue by submitting a bug report at * |
| * crbug.com/tint with the source program that triggered the bug. * |
| ******************************************************************** |