Skip to content

panfrost: Stop overallocating compressed textures

Icecream95 requested to merge icecream95/mesa:immense-amount-of-ram into main

The line stride uses the number of bytes in the entire block, so both the width and height need to be reduced for compressed textures so that the surface stride is calculated correctly.

Fixes: 051d62cf ("panfrost: Add a pan_image_layout_init() helper")

Merge request reports