blob: 4174ae560b98a85c3a4a46b4d332eeb47c9a6487 [file] [log] [blame]
SKIP: FAILED
<dawn>/src/tint/lang/msl/writer/printer/printer.cc:775 internal compiler error: Output = struct @align(16) {
Position:vec4<f32> @offset(0), @builtin(position)
color:vec4<f32> @offset(16), @location(0)
}
%tint_symbol = @vertex func(%VertexIndex:u32 [@vertex_index], %InstanceIndex:u32 [@instance_index]):Output -> %b1 {
%b1 = block {
%zv:array<vec2<f32>, 4> = let array<vec2<f32>, 4>(vec2<f32>(0.20000000298023223877f), vec2<f32>(0.30000001192092895508f), vec2<f32>(-0.10000000149011611938f), vec2<f32>(1.10000002384185791016f))
%z:f32 = access %zv, %InstanceIndex, 0u
%output:ptr<function, Output, read_write> = var
%7:ptr<function, vec4<f32>, read_write> = access %output, 0u
%8:vec4<f32> = construct 0.5f, 0.5f, %z, 1.0f
store %7, %8
%colors:array<vec4<f32>, 4> = let array<vec4<f32>, 4>(vec4<f32>(1.0f, 0.0f, 0.0f, 1.0f), vec4<f32>(0.0f, 1.0f, 0.0f, 1.0f), vec4<f32>(0.0f, 0.0f, 1.0f, 1.0f), vec4<f32>(1.0f))
%10:ptr<function, vec4<f32>, read_write> = access %output, 1u
%11:vec4<f32> = access %colors, %InstanceIndex
store %10, %11
%12:Output = load %output
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. *
********************************************************************