The compiler needs to call calculateVertexBufferIndex() to match the WebGPU API
<rdar://problem/50746284>
This isn't necessary. The compiler doesn't care which buffers the attributes come from. The indices of resource buffers aren't modified. So there's nothing to do here.