541be28099
This pulls the record state out of the cmd queue into the command buffer. It can be used here by other drivers. v2: add some get/set api: not set only sets the first error. v3 (Jason Ekstrand): - Rename set_record_result to set_error - Automatically log the set error - Add a new vk_command_bufer_has_error() helper - Split out vk_cmd_queue changes into their own commit Reviewed-by: Jesse Natalie <jenatali@microsoft.com> Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com> Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16918>