blob: a9ae9d9a1bc26730b23883c6c69429c0f7b74684 [file] [log] [blame]
SKIP: FAILED
../../src/tint/lang/msl/writer/printer/printer.cc:1257 internal compiler error: main_out = struct @align(16) {
x_GLF_color_1:vec4<f32> @offset(0), @location(0)
}
$B1: { # root
%x_GLF_color:ptr<private, vec4<f32>, read_write> = var
}
%main_1 = func():void {
$B2: {
%x_21:ptr<function, bool, read_write> = var
store %x_21, false
loop [b: $B3] { # loop_1
$B3: { # body
%x_25:ptr<function, bool, read_write> = var
%x_30:ptr<function, bool, read_write> = var
%6:bool = load %x_21
store %x_25, %6
loop [b: $B4] { # loop_2
$B4: { # body
%7:bool = load %x_25
store %x_30, %7
if false [t: $B5, f: $B6] { # if_1
$B5: { # true
exit_if # if_1
}
$B6: { # false
exit_loop # loop_2
}
}
store %x_30, true
exit_loop # loop_2
}
}
%8:bool = load %x_30
if %8 [t: $B7] { # if_2
$B7: { # true
exit_loop # loop_1
}
}
store %x_GLF_color, vec4<f32>(1.0f, 0.0f, 0.0f, 1.0f)
exit_loop # loop_1
}
}
ret
}
}
%tint_symbol = @fragment func():main_out {
$B8: {
%10:void = call %main_1
%11:vec4<f32> = load %x_GLF_color
%12:main_out = construct %11
ret %12
}
}
invalid entry point IO struct uses
********************************************************************
* 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. *
********************************************************************