blob: 3930e65406fb4fab137894e14d92bc5961c84058 [file] [log] [blame]
SKIP: FAILED
../../src/tint/lang/msl/writer/printer/printer.cc:500 internal compiler error: UBO = struct @align(4) {
dynamic_idx:i32 @offset(0)
}
Result = struct @align(4) {
out:i32 @offset(0)
}
S = struct @align(4) {
data:array<i32, 64> @offset(0)
}
$B1: { # root
%ubo:ptr<uniform, UBO, read> = var @binding_point(0, 0)
%result:ptr<storage, Result, read_write> = var @binding_point(0, 1)
}
%f = @compute @workgroup_size(1, 1, 1) func():void {
$B2: {
%s:ptr<function, S, read_write> = var
%5:ptr<uniform, i32, read> = access %ubo, 0u
%6:i32 = load %5
%7:ptr<function, i32, read_write> = access %s, 0u, %6
store %7, 1i
%8:ptr<storage, i32, read_write> = access %result, 0u
%9:ptr<function, i32, read_write> = access %s, 0u, 3i
%10:i32 = load %9
store %8, %10
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. *
********************************************************************