blob: 6e4a62eb1c16a298833217d07c81e499e91fd23f [file] [log] [blame]
SKIP: FAILED
../../src/tint/lang/msl/writer/printer/printer.cc:1257 internal compiler error: Interface = struct @align(16) {
i:i32 @offset(0), @location(0), @interpolate(flat)
u:u32 @offset(4), @location(1), @interpolate(flat)
vi:vec4<i32> @offset(16), @location(2), @interpolate(flat)
vu:vec4<u32> @offset(32), @location(3), @interpolate(flat)
pos:vec4<f32> @offset(48), @builtin(position)
}
%vert_main = @vertex func():Interface {
$B1: {
ret Interface(0i, 0u, vec4<i32>(0i), vec4<u32>(0u), vec4<f32>(0.0f))
}
}
%frag_main = @fragment func(%inputs:Interface):i32 [@location(0)] {
$B2: {
%4:i32 = access %inputs, 0u
ret %4
}
}
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. *
********************************************************************