blob: de67af002751782cd6aba561db710c9c8e300d17 [file] [log] [blame]
SKIP: FAILED
<dawn>/src/tint/lang/msl/writer/printer/printer.cc:355 internal compiler error: Outputs = struct @align(4) {
data:array<u32> @offset(0)
}
%b1 = block { # root
%count:ptr<private, u32, read_write> = var, 0u
%outputs:ptr<storage, Outputs, read_write> = var @binding_point(0, 1)
}
%push_output = func(%value:u32):void -> %b2 {
%b2 = block {
%5:u32 = load %count
%6:ptr<storage, u32, read_write> = access %outputs, 0u, %5
store %6, %value
%7:u32 = load %count
%8:u32 = add %7, 1u
store %count, %8
ret
}
}
%tint_symbol = @compute @workgroup_size(1, 1, 1) func():void -> %b3 {
%b3 = block {
%a:ptr<function, u32, read_write> = var, 0u
%b:ptr<function, u32, read_write> = var, 10u
%c:ptr<function, u32, read_write> = var, 4294967294u
%13:u32 = load %a
%14:u32 = add %13, 1u
store %a, %14
%15:u32 = load %b
%16:u32 = add %15, 1u
store %b, %16
%17:u32 = load %c
%18:u32 = add %17, 1u
store %c, %18
%19:u32 = load %a
%20:void = call %push_output, %19
%21:u32 = load %b
%22:void = call %push_output, %21
%23:u32 = load %c
%24:void = call %push_output, %23
ret
}
}
unhandled variable address space
********************************************************************
* 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. *
********************************************************************