89263fde20
This eliminates some boilerplate, and will be necessary to use the common render pass implementation for debugging purposes. Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17378>