blob: ee3ac2dba7cc13a61a726d829bdb280444fe1100 [file]
SKIP: FAILED
$B1: { # root
%v:ptr<storage, buffer, read_write> = var undef @binding_point(0, 0)
%out:ptr<storage, u32, read_write> = var undef @binding_point(0, 1)
}
%foo = func(%p:ptr<storage, buffer, read_write>):void {
$B2: {
%5:u32 = bufferLength %p
store %out, %5
ret
}
}
%main = @compute @workgroup_size(1i, 1i, 1i) func():void {
$B3: {
%7:void = call %foo, %v
ret
}
}
Failed to generate: buffers are not supported by the MSL backend
tint executable returned error: exit status 1