It's an early return also benefiting dynamic rendering. We then no longer need to track the legacy pass from inheritance info. Signed-off-by: Yiwei Zhang <zzyiwei@chromium.org> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24103>