summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorBrian <[email protected]>2007-10-21 17:15:07 -0600
committerBrian <[email protected]>2007-10-21 17:15:07 -0600
commitc2322333b8d1732f4c6d4b71ff5ee2ea772d3cb5 (patch)
tree1a2fef3440a69074d7eadfc9290fbb07fb9c5aac /src
parentcae640eae63544211710a2848e23f6d1d74f827f (diff)
rename some vars
Diffstat (limited to 'src')
-rw-r--r--src/mesa/pipe/softpipe/sp_quad_blend.c50
1 files changed, 25 insertions, 25 deletions
diff --git a/src/mesa/pipe/softpipe/sp_quad_blend.c b/src/mesa/pipe/softpipe/sp_quad_blend.c
index 5787b89588d..b056e477b1d 100644
--- a/src/mesa/pipe/softpipe/sp_quad_blend.c
+++ b/src/mesa/pipe/softpipe/sp_quad_blend.c
@@ -55,44 +55,44 @@ do { \
DST[3] = SRC; \
} while(0)
-#define VEC4_ADD(SUM, A, B) \
+#define VEC4_ADD(R, A, B) \
do { \
- SUM[0] = A[0] + B[0]; \
- SUM[1] = A[1] + B[1]; \
- SUM[2] = A[2] + B[2]; \
- SUM[3] = A[3] + B[3]; \
+ R[0] = A[0] + B[0]; \
+ R[1] = A[1] + B[1]; \
+ R[2] = A[2] + B[2]; \
+ R[3] = A[3] + B[3]; \
} while (0)
-#define VEC4_SUB(SUM, A, B) \
+#define VEC4_SUB(R, A, B) \
do { \
- SUM[0] = A[0] - B[0]; \
- SUM[1] = A[1] - B[1]; \
- SUM[2] = A[2] - B[2]; \
- SUM[3] = A[3] - B[3]; \
+ R[0] = A[0] - B[0]; \
+ R[1] = A[1] - B[1]; \
+ R[2] = A[2] - B[2]; \
+ R[3] = A[3] - B[3]; \
} while (0)
-#define VEC4_MUL(SUM, A, B) \
+#define VEC4_MUL(R, A, B) \
do { \
- SUM[0] = A[0] * B[0]; \
- SUM[1] = A[1] * B[1]; \
- SUM[2] = A[2] * B[2]; \
- SUM[3] = A[3] * B[3]; \
+ R[0] = A[0] * B[0]; \
+ R[1] = A[1] * B[1]; \
+ R[2] = A[2] * B[2]; \
+ R[3] = A[3] * B[3]; \
} while (0)
-#define VEC4_MIN(SUM, A, B) \
+#define VEC4_MIN(R, A, B) \
do { \
- SUM[0] = (A[0] < B[0]) ? A[0] : B[0]; \
- SUM[1] = (A[1] < B[1]) ? A[1] : B[1]; \
- SUM[2] = (A[2] < B[2]) ? A[2] : B[2]; \
- SUM[3] = (A[3] < B[3]) ? A[3] : B[3]; \
+ R[0] = (A[0] < B[0]) ? A[0] : B[0]; \
+ R[1] = (A[1] < B[1]) ? A[1] : B[1]; \
+ R[2] = (A[2] < B[2]) ? A[2] : B[2]; \
+ R[3] = (A[3] < B[3]) ? A[3] : B[3]; \
} while (0)
-#define VEC4_MAX(SUM, A, B) \
+#define VEC4_MAX(R, A, B) \
do { \
- SUM[0] = (A[0] > B[0]) ? A[0] : B[0]; \
- SUM[1] = (A[1] > B[1]) ? A[1] : B[1]; \
- SUM[2] = (A[2] > B[2]) ? A[2] : B[2]; \
- SUM[3] = (A[3] > B[3]) ? A[3] : B[3]; \
+ R[0] = (A[0] > B[0]) ? A[0] : B[0]; \
+ R[1] = (A[1] > B[1]) ? A[1] : B[1]; \
+ R[2] = (A[2] > B[2]) ? A[2] : B[2]; \
+ R[3] = (A[3] > B[3]) ? A[3] : B[3]; \
} while (0)