blob: bac8efc4fabe9c74533c4d6dcd0d973d48182c2a [file] [log] [blame]
SKIP: FAILED
<dawn>/src/tint/lang/msl/writer/printer/printer.cc:469 internal compiler error: %b1 = block { # root
%arg_0:ptr<workgroup, atomic<i32>, read_write> = var
%prevent_dce:ptr<storage, i32, read_write> = var @binding_point(2, 0)
}
%atomicAdd_794055 = func():void -> %b2 {
%b2 = block {
%arg_1:ptr<function, i32, read_write> = var, 1i
%5:i32 = load %arg_1
%6:i32 = atomicAdd %arg_0, %5
%res:ptr<function, i32, read_write> = var, %6
%8:i32 = load %res
store %prevent_dce, %8
ret
}
}
%compute_main = @compute @workgroup_size(1, 1, 1) func():void -> %b3 {
%b3 = block {
%10:void = call %atomicAdd_794055
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. *
********************************************************************