v3dv: meta operations can happen outside a render pass
authorIago Toral Quiroga <itoral@igalia.com>
Tue, 21 Apr 2020 12:01:35 +0000 (14:01 +0200)
committerMarge Bot <eric+marge@anholt.net>
Tue, 13 Oct 2020 21:21:29 +0000 (21:21 +0000)
commit689bac310fddf74148ae9fb6f02648f3d57bebff
tree44dd387bf8726e88e2fcd4c7583d663f7e1c277e
parentbd53ee624766cc5a01bd6fd1de423a300ab2f73f
v3dv: meta operations can happen outside a render pass

We were asserting that we had a valid subpass index, but we can have
meta operations that run outside a render pass, such as for blitting.

If we allow this, then we also need to account for the fact that
pipelines can be bound outside a render pass too.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6766>
src/broadcom/vulkan/v3dv_cmd_buffer.c