intel: Use common CONCAT/PASTE macros
authorMatt Coster <matt.coster@imgtec.com>
Thu, 9 Jun 2022 14:03:01 +0000 (15:03 +0100)
committerMarge Bot <emma+marge@anholt.net>
Tue, 15 Nov 2022 11:54:42 +0000 (11:54 +0000)
Signed-off-by: Matt Coster <matt.coster@imgtec.com>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16945>

src/intel/isl/isl_priv.h

index 394c5d9..130ff61 100644 (file)
@@ -248,8 +248,6 @@ _isl_memcpy_tiled_to_linear_sse41(uint32_t xt1, uint32_t xt2,
                                   isl_memcpy_type copy_type);
 
 /* This is useful for adding the isl_prefix to genX functions */
-#define PASTE2(x, y) x ## y
-#define CONCAT2(x, y) PASTE2(x, y)
 #define isl_genX(x) CONCAT2(isl_, genX(x))
 
 #ifdef genX