Module: Mesa Branch: main Commit: 5a2aa3ff88b153a7178e08db444414514e783035 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=5a2aa3ff88b153a7178e08db444414514e783035
Author: Yonggang Luo <luoyongg...@gmail.com> Date: Fri Nov 3 12:02:45 2023 +0800 intel: Cleanup duplicate ALIGN macro defines Use ALIGN function instead Signed-off-by: Yonggang Luo <luoyongg...@gmail.com> Reviewed-by: Lionel Landwerlin <lionel.g.landwer...@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26864> --- src/intel/tools/aub_write.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/intel/tools/aub_write.c b/src/intel/tools/aub_write.c index 98566e30530..2fc225348a1 100644 --- a/src/intel/tools/aub_write.c +++ b/src/intel/tools/aub_write.c @@ -34,10 +34,6 @@ #include "util/u_math.h" -#ifndef ALIGN -#define ALIGN(x, y) (((x) + (y)-1) & ~((y)-1)) -#endif - #define MI_BATCH_NON_SECURE_I965 (1 << 8) #define min(a, b) ({ \