I am using buffer.copy_buffer to copy a region of a buffer to another region of the same buffer. (The two regions don’t overlap.) I am getting weird results. Does buffer.copy_buffer assume that all the streams of the buffer have the same count? It seems to me that the copy DOES work for all streams with count = 1 but fails for count = 4.
In particular, the offsets for source and destination are measured in stream entries, right? In other words, an offset of n becomes the index (n-1)c + 1 for a stream with count = c, right? Or have I not understood how to pass offsets…?
Of course this could be an error of mine, something that at the moment I am missing…