Files
mesa/src
Christian Gmeiner 9dd9ebe9c5 etnaviv: Implement 128-bit format emulation using dual 64-bit layout
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>
2025-10-13 11:19:48 +00:00
..
2025-10-09 12:29:55 +00:00
2025-09-03 11:47:00 +00:00
2025-10-09 12:29:55 +00:00
2025-09-22 16:35:26 +00:00
2025-10-12 17:40:09 +00:00
2025-10-10 11:19:39 +00:00