util/dag: Move the callback function pointer to the state.
authorEric Anholt <eric@anholt.net>
Tue, 8 Sep 2020 21:16:05 +0000 (14:16 -0700)
committerMarge Bot <emma+marge@anholt.net>
Thu, 29 Sep 2022 23:40:18 +0000 (23:40 +0000)
commit984aa0ac9a518b6cea5f7617fdfc7509e8254c62
tree042de7f9a15935c018547cbc7484ae6abeda08ba
parent004c5b60caa3a58177be62e1f4f9eb7388979126
util/dag: Move the callback function pointer to the state.

No sense passing it as a recursive argument when we have this storage
right there.

Reviewed-by: Rob Clark <robdclark@chromium.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6656>
src/util/dag.c