blob: 4714950a0464b58f35075fc15bfde4058ac181f1 [file] [log] [blame] [edit]
SKIP: FAILED
S = struct @align(16) {
a:vec4<f32> @offset(0)
b:array<u32> @offset(16)
}
$B1: { # root
%v:ptr<storage, buffer, read_write> = var undef @binding_point(0, 0)
}
%main = @compute @workgroup_size(1i, 1i, 1i) func():void {
$B2: {
%3:ptr<storage, S, read_write> = bufferArrayView<S> %v, 0i, 64i
%p:ptr<storage, S, read_write> = let %3
%5:ptr<storage, u32, read_write> = access %p, 1u, 4i
store %5, 4u
ret
}
}
Failed to generate: buffers are not supported by the MSL backend
tint executable returned error: exit status 1