blob: a622a8e37d7100ce0a9816f7de0615309e0978ea [file] [log] [blame]
SKIP: FAILED
<dawn>/src/tint/lang/msl/writer/printer/printer.cc:355 internal compiler error: Buf1 = struct @align(4) {
result:i32 @offset(0)
}
Buf0 = struct @align(4) {
values:array<u32> @offset(0)
}
%b1 = block { # root
%x_4:ptr<storage, Buf1, read_write> = var @binding_point(0, 1)
%x_7:ptr<storage, Buf0, read_write> = var @binding_point(0, 0)
}
%main_1 = func():void -> %b2 {
%b2 = block {
%i:ptr<function, u32, read_write> = var
%5:ptr<storage, i32, read_write> = access %x_4, 0u
store %5, 1i
store %i, 0u
loop [b: %b3, c: %b4] { # loop_1
%b3 = block { # body
%x_33:u32 = load %i
%7:bool = lt %x_33, 512u
if %7 [t: %b5, f: %b6] { # if_1
%b5 = block { # true
exit_if # if_1
}
%b6 = block { # false
exit_loop # loop_1
}
}
%x_36:u32 = load %i
%9:u32 = mul %x_36, 2u
%10:ptr<storage, u32, read_write> = access %x_7, 0u, %9
%x_39:u32 = load %10
%x_40:u32 = load %i
%13:bool = neq %x_39, %x_40
if %13 [t: %b7] { # if_2
%b7 = block { # true
%14:ptr<storage, i32, read_write> = access %x_4, 0u
store %14, 0i
exit_if # if_2
}
}
continue %b4
}
%b4 = block { # continuing
%x_45:u32 = load %i
%16:u32 = add %x_45, 1u
store %i, %16
next_iteration %b3
}
}
ret
}
}
%tint_symbol = @compute @workgroup_size(1, 1, 1) func():void -> %b8 {
%b8 = block {
%18:void = call %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. *
********************************************************************