gallium: Rename ALIGN_STACK -> PIPE_ALIGN_STACK for consistency.
authorJosé Fonseca <jfonseca@vmware.com>
Tue, 12 Jan 2010 12:15:24 +0000 (12:15 +0000)
committerJosé Fonseca <jfonseca@vmware.com>
Tue, 12 Jan 2010 12:15:24 +0000 (12:15 +0000)
src/gallium/drivers/llvmpipe/lp_setup.c
src/gallium/drivers/llvmpipe/lp_test_blend.c
src/gallium/drivers/llvmpipe/lp_test_conv.c
src/gallium/drivers/llvmpipe/lp_test_format.c
src/gallium/include/pipe/p_compiler.h

index 9b96bba7279f2c3a546c9f3e12bf65663ff56769..0b2d3a28014f41f1d317e1c853c7fbe5b2d62b49 100644 (file)
@@ -117,7 +117,7 @@ struct setup_context {
 /**
  * Execute fragment shader for the four fragments in the quad.
  */
-ALIGN_STACK
+PIPE_ALIGN_STACK
 static void
 shade_quads(struct llvmpipe_context *llvmpipe,
             struct quad_header *quads[],
index 7458ef75446cbd57e0d04f600518e69722f8190a..6c29e8d8ace250ca16b7c490d188e17fd541f559 100644 (file)
@@ -462,7 +462,7 @@ compute_blend_ref(const struct pipe_blend_state *blend,
 }
 
 
-ALIGN_STACK
+PIPE_ALIGN_STACK
 static boolean
 test_one(unsigned verbose,
          FILE *fp,
index 3b48eac382d68586ba6767b83c862e01e3ecd9bc..c1abee424c9d3e1ea4842971232d86d7d1293698 100644 (file)
@@ -142,7 +142,7 @@ add_conv_test(LLVMModuleRef module,
 }
 
 
-ALIGN_STACK
+PIPE_ALIGN_STACK
 static boolean
 test_one(unsigned verbose,
          FILE *fp,
index 23ea9ebbe7d96c526482280742a7c212808e1e2d..2b258f1052e7d5cfb39e69ca6bd19fa9ae6308e2 100644 (file)
@@ -199,7 +199,7 @@ add_store_rgba_test(LLVMModuleRef module,
 }
 
 
-ALIGN_STACK
+PIPE_ALIGN_STACK
 static boolean
 test_format(unsigned verbose, FILE *fp, const struct pixel_test_case *test)
 {
index 5f15e8203d485df8561ef8d08681e2fe74533efd..18ebd0c948350d0431a9015793e2cde009d5f05e 100644 (file)
@@ -149,9 +149,9 @@ typedef unsigned char boolean;
 #define PIPE_ALIGN_VAR(_alignment) __attribute__((aligned(_alignment)))
 
 #if (__GNUC__ > 4 || (__GNUC__ == 4 &&__GNUC_MINOR__>1)) && !defined(PIPE_ARCH_X86_64)
-#define ALIGN_STACK __attribute__((force_align_arg_pointer))
+#define PIPE_ALIGN_STACK __attribute__((force_align_arg_pointer))
 #else
-#define ALIGN_STACK
+#define PIPE_ALIGN_STACK
 #endif
 
 #elif defined(_MSC_VER)
@@ -160,7 +160,7 @@ typedef unsigned char boolean;
 #define PIPE_ALIGN_TYPE(_alignment, _type) __declspec(align(_alignment)) _type
 #define PIPE_ALIGN_VAR(_alignment) __declspec(align(_alignment))
 
-#define ALIGN_STACK
+#define PIPE_ALIGN_STACK
 
 #else