mesa,panfrost: Increase buffer texture size
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 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