util: move ALIGN/ROUND_DOWN_TO to u_math.h
authorRob Clark <robdclark@chromium.org>
Mon, 30 Mar 2020 22:52:30 +0000 (15:52 -0700)
committerMarge Bot <eric+marge@anholt.net>
Tue, 31 Mar 2020 18:46:04 +0000 (18:46 +0000)
commitae7da1a01706835120bd59ea069e49cf325feaa3
tree3e8bc5dda4f112db6170a51ba45652712d012352
parent7a53e67816ed9baf7d825ed60ee59f0c05f9df48
util: move ALIGN/ROUND_DOWN_TO to u_math.h

These are less mesa specific than the rest of macros.h, and would be
nice to use outside of mesa.  Prep for next patch.

Signed-off-by: Rob Clark <robdclark@chromium.org>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4381>
src/mesa/main/macros.h
src/util/u_math.h