Draft: pan/midg: Changes needed for panvk

Boris Brezillon requested to merge bbrezillon/mesa:panvk-midg into main

Opening a MR with all the midgard compiler changes I needed to have the copy/blit tests passing on midgard (see [1] for a branch). I don't expect those patches to be merged as is, but I thought I'd share them anyway to start the discussion.

/cc @italove


Merge request reports