blob: 67592eb0a303a8435cdb4e0e4a2ce2955c0ac3e3 [file] [log] [blame]
SKIP: FAILED
../../src/tint/lang/msl/writer/printer/printer.cc:500 internal compiler error: Uniforms = struct @align(4) {
i:u32 @offset(0)
}
InnerS = struct @align(4) {
v:i32 @offset(0)
}
OuterS = struct @align(4) {
a1:array<InnerS, 8> @offset(0)
}
$B1: { # root
%uniforms:ptr<uniform, Uniforms, read> = var @binding_point(1, 4)
}
%tint_symbol = @compute @workgroup_size(1, 1, 1) func():void {
$B2: {
%v:ptr<function, InnerS, read_write> = var
%s1:ptr<function, OuterS, read_write> = var
%i:ptr<function, i32, read_write> = var, 0i
loop [i: $B3, b: $B4, c: $B5] { # loop_1
$B3: { # initializer
%6:ptr<uniform, u32, read> = access %uniforms, 0u
%7:u32 = load %6
%8:ptr<function, InnerS, read_write> = access %s1, 0u, %7
%9:InnerS = load %v
store %8, %9
next_iteration # -> $B4
}
$B4: { # body
%10:i32 = load %i
%11:bool = lt %10, 4i
if %11 [t: $B6, f: $B7] { # if_1
$B6: { # true
exit_if # if_1
}
$B7: { # false
exit_loop # loop_1
}
}
continue # -> $B5
}
$B5: { # continuing
%12:i32 = load %i
%13:i32 = add %12, 1i
store %i, %13
next_iteration # -> $B4
}
}
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. *
********************************************************************