9dd9ebe9c5
The Vivante GPUs don't natively support 128-bit formats like R32G32B32A32_FLOAT. This patch implements emulation by calculating the memory layout as if these were 64-bit formats, but doubling the allocation size to store both halves of the 128-bit data. For 128-bit formats, we: - Calculate stride and layer_stride using the 64-bit equivalent format - Double the mip level size to accommodate both 64-bit halves - Use translate_format_128bit_to_64bit() to map formats like R32G32B32A32_FLOAT -> R32G32_FLOAT This creates a memory layout where each mip level contains the 128-bit data organized as two consecutive 64-bit portions. Signed-off-by: Christian Gmeiner <cgmeiner@igalia.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37597>