blob: dcfab64956d2c47b0ce2eaf930f60c70b7d465b4 [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)
}
%atomicOr_5e95d4 = 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:u32 = load %arg_1
%x_18:u32 = let %5
%7:ptr<storage, atomic<u32>, read_write> = access %sb_rw, 0u
%8:u32 = atomicOr %7, %x_18
%x_13:u32 = let %8
store %res, %x_13
ret
}
}
%fragment_main_1 = func():void {
$B3: {
%11:void = call %atomicOr_5e95d4
ret
}
}
%fragment_main = @fragment func():void {
$B4: {
%13:void = call %fragment_main_1
ret
}
}
%compute_main_1 = func():void {
$B5: {
%15:void = call %atomicOr_5e95d4
ret
}
}
%compute_main = @compute @workgroup_size(1, 1, 1) func():void {
$B6: {
%17: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. *
********************************************************************