blob: a5ea05efa00ef0fbfc5a42fd6240707d2b9d2e6a [file] [log] [blame]
SKIP: FAILED
$B1: { # root
%v:ptr<workgroup, buffer<64>, read_write> = var undef
}
%foo = func(%p:ptr<workgroup, buffer<64>, read_write>):void {
$B2: {
%4:ptr<workgroup, array<vec2<f32>>, read_write> = bufferArrayView<array<vec2<f32>>> %p, 0i, 32i
%p2:ptr<workgroup, array<vec2<f32>>, read_write> = let %4
%6:ptr<workgroup, vec2<f32>, read_write> = access %p2, 0i
store_vector_element %6, 0u, 1.0f
ret
}
}
%main = @compute @workgroup_size(1i, 1i, 1i) func():void {
$B3: {
%8:void = call %foo, %v
ret
}
}
Failed to generate: buffers are not supported by the MSL backend
tint executable returned error: exit status 1