summaryrefslogtreecommitdiffstats
path: root/src/mesa/pipe/p_compiler.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/pipe/p_compiler.h')
-rw-r--r--src/mesa/pipe/p_compiler.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/pipe/p_compiler.h b/src/mesa/pipe/p_compiler.h
index 020977b05b8..4f2c9ef88af 100644
--- a/src/mesa/pipe/p_compiler.h
+++ b/src/mesa/pipe/p_compiler.h
@@ -73,9 +73,11 @@ typedef unsigned long long uint64;
#if defined __GNUC__
#define ALIGN16_DECL(TYPE, NAME, SIZE) TYPE NAME##___aligned[SIZE] __attribute__(( aligned( 16 ) ))
#define ALIGN16_ASSIGN(NAME) NAME##___aligned
+#define ALIGN16_ATTRIB __attribute__(( aligned( 16 ) ))
#else
#define ALIGN16_DECL(TYPE, NAME, SIZE) TYPE NAME##___unaligned[SIZE + 1]
#define ALIGN16_ASSIGN(NAME) align16(NAME##___unaligned)
+#define ALIGN16_ATTRIB
#endif