Skip to content
Snippets Groups Projects
Commit f2670002 authored by Icecream95's avatar Icecream95 Committed by Marge Bot
Browse files

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>
parent f68e5790
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment