rusticl/util: add div_round_up
authorKarol Herbst <git@karolherbst.de>
Sat, 6 May 2023 23:47:23 +0000 (01:47 +0200)
committerMarge Bot <emma+marge@anholt.net>
Fri, 7 Jul 2023 12:27:35 +0000 (12:27 +0000)
commitaf98c5c77cb0b9089e58e86665eaea872230029d
tree7ea7f8008812744db64167f97fefd751b34c15ce
parent8dbccadb71edcd1569468fc18c6b7fac056f8a4d
rusticl/util: add div_round_up

Same as DIV_ROUND_UP

Signed-off-by: Karol Herbst <git@karolherbst.de>
Reviewed-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Reviewed-by: Nora Allen <blackcatgames@protonmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22893>
src/gallium/frontends/rusticl/util/math.rs