4c0635ee04
Use common tracking of cmd pool, cmd level and cmd state. Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34083>