blob: 09614d6c0495e949bdbbffdcb85c02e05fe715ad [file] [log] [blame]
SKIP: FAILED
../../src/tint/lang/msl/writer/printer/printer.cc:1257 internal compiler error: main_out = struct @align(16) {
outColor_1:vec4<f32> @offset(0), @location(0)
gl_FragDepth_1:f32 @offset(16), @builtin(frag_depth)
}
$B1: { # root
%outColor:ptr<private, vec4<f32>, read_write> = var
%gl_FragDepth:ptr<private, f32, read_write> = var
%gl_FragCoord:ptr<private, vec4<f32>, read_write> = var
}
%main_1 = func():void {
$B2: {
store %outColor, vec4<f32>(0.0f)
%5:f32 = load_vector_element %gl_FragCoord, 2u
store %gl_FragDepth, %5
ret
}
}
%tint_symbol = @fragment func(%gl_FragCoord_param:vec4<f32> [@position]):main_out {
$B3: {
store %gl_FragCoord, %gl_FragCoord_param
%8:void = call %main_1
%9:vec4<f32> = load %outColor
%10:f32 = load %gl_FragDepth
%11:main_out = construct %9, %10
ret %11
}
}
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. *
********************************************************************