vulkan: Split renderpass op into 2
authorBenjamin Otte <otte@redhat.com>
Tue, 18 Jul 2023 22:31:48 +0000 (00:31 +0200)
committerBenjamin Otte <otte@redhat.com>
Wed, 19 Jul 2023 19:30:35 +0000 (21:30 +0200)
commitcd84f5a56ef60cffb38a8c6c3b7d9267f756d175
tree31f336e1c1d8cc63e9ef1907a1701af7ef6d1988
parent4311d17cb172ec3545474c04ec7ca681fec5d179
vulkan: Split renderpass op into 2

Add an explicit begin() and an end() op. For now, this looks like
overkill, but it allows doing renderpasses with custom ops that are not
meant to render a rendernode.

Examples for this are pre/postprocessing passes or 2-pass blur.
gsk/vulkan/gskvulkanrender.c
gsk/vulkan/gskvulkanrenderpassop.c
gsk/vulkan/gskvulkanrenderpassopprivate.h