diff options
author | Brian Paul <[email protected]> | 2008-09-19 17:53:56 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2008-09-19 17:56:45 -0600 |
commit | bef3444f41547eda95c0f677783ab7737869bfd2 (patch) | |
tree | 564647c332ccccc479f43fe3c882e5d8d4de09bf /src/gallium/include/pipe/p_compiler.h | |
parent | 7af5f944e5709920623c766bc572f8d587709270 (diff) |
gallium: added ALIGN32_ATTRIB
Diffstat (limited to 'src/gallium/include/pipe/p_compiler.h')
-rw-r--r-- | src/gallium/include/pipe/p_compiler.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/include/pipe/p_compiler.h b/src/gallium/include/pipe/p_compiler.h index 4d64c74a4aa..1e702c7fa74 100644 --- a/src/gallium/include/pipe/p_compiler.h +++ b/src/gallium/include/pipe/p_compiler.h @@ -144,10 +144,12 @@ typedef unsigned char boolean; #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 ) )) +#define ALIGN32_ATTRIB __attribute__(( aligned( 32 ) )) #else #define ALIGN16_DECL(TYPE, NAME, SIZE) TYPE NAME##___unaligned[SIZE + 1] #define ALIGN16_ASSIGN(NAME) align16(NAME##___unaligned) #define ALIGN16_ATTRIB +#define ALIGN32_ATTRIB #endif |