| SKIP: FAILED |
| |
| <dawn>/src/tint/lang/msl/writer/printer/printer.cc:355 internal compiler error: %b1 = block { # root |
| %u:ptr<uniform, i32, read> = var @binding_point(0, 0) |
| } |
| |
| %f = func():i32 -> %b2 { |
| %b2 = block { |
| ret 0i |
| } |
| } |
| %g = func():void -> %b3 { |
| %b3 = block { |
| %j:ptr<function, i32, read_write> = var, 0i |
| loop [b: %b4, c: %b5] { # loop_1 |
| %b4 = block { # body |
| %5:i32 = load %j |
| %6:bool = gte %5, 1i |
| if %6 [t: %b6] { # if_1 |
| %b6 = block { # true |
| exit_loop # loop_1 |
| } |
| } |
| %7:i32 = load %j |
| %8:i32 = add %7, 1i |
| store %j, %8 |
| %9:i32 = call %f |
| %k:ptr<function, i32, read_write> = var, %9 |
| continue %b5 |
| } |
| %b5 = block { # continuing |
| next_iteration %b4 |
| } |
| } |
| ret |
| } |
| } |
| %tint_symbol = @compute @workgroup_size(1, 1, 1) func():void -> %b7 { |
| %b7 = block { |
| %12:i32 = load %u |
| switch %12 [c: (0i, %b8), c: (default, %b9)] { # switch_1 |
| %b8 = block { # case |
| %13:i32 = load %u |
| switch %13 [c: (0i, %b10), c: (default, %b11)] { # switch_2 |
| %b10 = block { # case |
| exit_switch # switch_2 |
| } |
| %b11 = block { # case |
| %14:void = call %g |
| exit_switch # switch_2 |
| } |
| } |
| exit_switch # switch_1 |
| } |
| %b9 = block { # case |
| exit_switch # switch_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. * |
| ******************************************************************** |