panfrost: Add indirect dispatch support
Similarly to indirect draw, indirect dispatch is implemented with a compute shader that patches the compute job descriptor to update the number of workgroups to dispatch.
TODO:
-
Create shared binary/desc pools and use those to allocate the indirect dispatch shader/descs -
Make is work on Midgard
/cc @italove