483a08d552
Straightforward, just converting to a renderpass as well. Note that we now own the renderpass so I also added a bool to check if we own it so we can destroy it after recording. Doing the destruction at destroy & reset time, as reset can be called during recording, and destroy all the time. Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13721>