blob: 305e5b7978c1c9fe81cb68e2bcf98cc9bf97170e [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<u32>, read_write> = var
%prevent_dce:ptr<storage, u32, read_write> = var @binding_point(2, 0)
}
%atomicAdd_d5db1d = func():void -> %b2 {
%b2 = block {
%4:u32 = atomicAdd %arg_0, 1u
%res:ptr<function, u32, read_write> = var, %4
%6:u32 = load %res
store %prevent_dce, %6
ret
}
}
%compute_main = @compute @workgroup_size(1, 1, 1) func():void -> %b3 {
%b3 = block {
%8:void = call %atomicAdd_d5db1d
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. *
********************************************************************