vulkan: Add `vk_subpass_dependency_is_fb_local()` helper
authorKarmjit Mahil <Karmjit.Mahil@imgtec.com>
Mon, 9 Oct 2023 09:01:05 +0000 (10:01 +0100)
committerMarge Bot <emma+marge@anholt.net>
Thu, 12 Oct 2023 09:30:07 +0000 (09:30 +0000)
commit9b7d4376533bd5923535cffeae5e5c5890d9d6d6
treefa689f5f25d4e13c98e5b1c88c78f32e4b153575
parent7397502a1fd242c60d4fe1b357f4682150033a35
vulkan: Add `vk_subpass_dependency_is_fb_local()` helper

Some tilers check for framebuffer local dependancy to determine if
they can rearrange or merge some sub-passes without breaking
their dependencies. Adding a helper for that.

Signed-off-by: Karmjit Mahil <Karmjit.Mahil@imgtec.com>
Reviewed-by: Connor Abbott <cwabbott0@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25612>
src/vulkan/runtime/vk_render_pass.h