Currently, gallium is using gl-style y/height for the layer parameter for 1d array textures in pipe transfers (that is, it is using the next "unused" parameter, which is y for 1d array, and z for 2d array textures).
This was never meant to be that way but not properly documented. It should always use z/depth for layer parameter, regardless if it's a 1d or 2d array texture.
Conceptually, it is a different parameter, which is just basically merged with z/depth since 3d arrays don't exist.
Hi Roland, is this bug still relevant or can it be closed?
I am quite sure this was fixed ages ago (I think when mesa core stopped using height for slice when mapping etc. 1d arrays).