panfrost: Stop overallocating compressed textures
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") Closes: mesa/mesa#6286 Part-of: <mesa/mesa!15989> (cherry picked from commit f2670002)
Please register or sign in to comment