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>