bufferRowLength and bufferImageHeight specify in texels a subregion of a larger two- or three-dimensional image in buffer memory, and control the addressing calculations.
Specifically, that "in texels" indicates the unit for these fields is texels.
Specifically, that "bytes in the buffer are accessed at offsets" indicates that the unit of texelOffset is bytes, which means each term in the sequence of additions has to have the same unit of bytes. y is a count (dimensionless), so rowExtent must also have the unit of bytes, which then means that bufferRowLength must also have the unit of bytes given its definition. The same logic can be applied to bufferImageHeight.
The description of
VkBufferImageCopy
says:Specifically, that "in texels" indicates the unit for these fields is texels.
However, the top of the section says:
Specifically, that "bytes in the buffer are accessed at offsets" indicates that the unit of
texelOffset
is bytes, which means each term in the sequence of additions has to have the same unit of bytes.y
is a count (dimensionless), sorowExtent
must also have the unit of bytes, which then means thatbufferRowLength
must also have the unit of bytes given its definition. The same logic can be applied tobufferImageHeight
.