Skip to content

mesa,panfrost: Increase buffer texture size for <= v7

Ray Smith requested to merge rsmith/mesa:panfrost-pbo into main

What does this MR do and why?

Increase PIPE_CAP_MAX_TEXEL_BUFFER_ELEMENTS_UINT from the minimum 65k to something much bigger, and the changes required to enable this. Mostly treating 1D and buffer textures as 2D to overcome the 16-bit dimension size limit.

(This was originally also enabling PIPE_TEXTURE_TRANSFER_BLIT to allow proper async PBO glReadPixels and friends, but that part exposed other problems that need further work so was removed from this MR.)

Edited by Ray Smith

Merge request reports