blob: a3036cbf234054764c0aeeddc4a77015eafbdcd0 [file] [log] [blame]
SKIP: FAILED
../../src/tint/lang/msl/writer/printer/printer.cc:1257 internal compiler error: main_out = struct @align(16) {
gl_Position:vec4<f32> @offset(0), @builtin(position)
frag_color_1:vec4<f32> @offset(16), @location(1)
}
$B1: { # root
%position_1:ptr<private, vec4<f32>, read_write> = var
%frag_color:ptr<private, vec4<f32>, read_write> = var
%gl_Position:ptr<private, vec4<f32>, read_write> = var
}
%main_1 = func():void {
$B2: {
%5:vec4<f32> = load %position_1
store %gl_Position, %5
%6:vec4<f32> = load %position_1
%7:vec4<f32> = mul %6, 0.5f
store %frag_color, %7
ret
}
}
%tint_symbol = @vertex func(%position_1_param:vec4<f32> [@location(0)]):main_out {
$B3: {
store %position_1, %position_1_param
%10:void = call %main_1
%11:vec4<f32> = load %gl_Position
%12:vec4<f32> = load %frag_color
%13:main_out = construct %11, %12
ret %13
}
}
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. *
********************************************************************