Skip to content

panfrost: Fix multiplanar YUV texture descriptor emission on v9+

Boris Brezillon requested to merge bbrezillon/mesa:panfrost-yuv-v9-fix into main

What does this MR do and why?

Multiplanar YUV textures require two surface descriptors, and the base address calculation should be moved inside the for loop, otherwise we always take the base address of the first plane.

Fixes: 144f9324 ("panfrost: prepare v9+ to support YUV sampling")

/cc @italove @kusma

Merge request reports