intel: Cleanup duplicate ALIGN macro defines

Use ALIGN function instead

Signed-off-by: Yonggang Luo <luoyonggang@gmail.com>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26864>
This commit is contained in:
Yonggang Luo 2023-11-03 12:02:45 +08:00 committed by Marge Bot
parent 8665ce27bc
commit 5a2aa3ff88

View file

@ -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) ({ \