fn row_elements(
element_size: u64,
texels_per_element: u64,
capacity: u64,
max_dimension: u32,
) -> u32Expand description
The number of elements a row holds: enough for a row to reach the copy
alignment, then doubled until the elements fit within max_dimension rows.