blob: 2d47c8480ef4d640ceea2934db64c62a8a97c147 [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)
}
%atomicMax_a89cc3 = func():void -> %b2 {
%b2 = block {
%4:i32 = atomicMax %arg_0, 1i
%res:ptr<function, i32, read_write> = var, %4
%6:i32 = load %res
store %prevent_dce, %6
ret
}
}
%compute_main = @compute @workgroup_size(1, 1, 1) func():void -> %b3 {
%b3 = block {
%8:void = call %atomicMax_a89cc3
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. *
********************************************************************