6b513a9c6a
It can be computed right after the active stages are known. While we are at it, simplify the code. Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21068>