blob: 5c3788eb30ebefdae1f59893526bf0c1a1d08e03 [file] [log] [blame]
SKIP: FAILED
<dawn>/src/tint/lang/msl/writer/printer/printer.cc:355 internal compiler error: __atomic_compare_exchange_result_u32 = struct @align(4) {
old_value:u32 @offset(0)
exchanged:bool @offset(4)
}
%b1 = block { # root
%a:ptr<storage, atomic<u32>, read_write> = var @binding_point(0, 0)
}
%tint_symbol = @compute @workgroup_size(16, 1, 1) func():void -> %b2 {
%b2 = block {
%value:ptr<function, u32, read_write> = var, 42u
%4:u32 = load %value
%result:__atomic_compare_exchange_result_u32 = atomicCompareExchangeWeak %a, 0u, %4
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. *
********************************************************************