blob: 0275a620ea9a5b08953dad70ae117602ea848557 [file] [log] [blame]
SKIP: FAILED
../../src/tint/lang/msl/writer/printer/printer.cc:500 internal compiler error: SB_RW_atomic = struct @align(4) {
arg_0:atomic<u32> @offset(0)
}
$B1: { # root
%sb_rw:ptr<storage, SB_RW_atomic, read_write> = var @binding_point(0, 0)
}
%atomicAdd_8a199a = func():void {
$B2: {
%arg_1:ptr<function, u32, read_write> = var, 0u
%res:ptr<function, u32, read_write> = var, 0u
store %arg_1, 1u
%5:ptr<storage, atomic<u32>, read_write> = access %sb_rw, 0u
%6:u32 = atomicAdd %5, 1u
%x_13:u32 = let %6
store %res, %x_13
ret
}
}
%fragment_main_1 = func():void {
$B3: {
%9:void = call %atomicAdd_8a199a
ret
}
}
%fragment_main = @fragment func():void {
$B4: {
%11:void = call %fragment_main_1
ret
}
}
%compute_main_1 = func():void {
$B5: {
%13:void = call %atomicAdd_8a199a
ret
}
}
%compute_main = @compute @workgroup_size(1, 1, 1) func():void {
$B6: {
%15:void = call %compute_main_1
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. *
********************************************************************