summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorEric Anholt <anholt@FreeBSD.org>2006-07-26 13:19:12 -0700
committerEric Anholt <anholt@FreeBSD.org>2006-07-26 13:19:12 -0700
commit96754b822df7ac110a70b2d08dda2ebb299772be (patch)
tree5f40040c31c8aa3df73d08d53177db82085a326c /src
parent9c93d1498fa2363c52ef7fbe97d781560f67acf5 (diff)
Fix a couple of typos from code review.
Diffstat (limited to 'src')
-rw-r--r--src/i915_3d.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/i915_3d.h b/src/i915_3d.h
index c1162000..10902186 100644
--- a/src/i915_3d.h
+++ b/src/i915_3d.h
@@ -33,7 +33,7 @@
#define MASK_Y 0x2
#define MASK_Z 0x4
#define MASK_W 0x8
-#define MASK_XYZ (MASK_X | MASK_Y | MASK_W)
+#define MASK_XYZ (MASK_X | MASK_Y | MASK_Z)
#define MASK_XYZW (MASK_XYZ | MASK_W)
#define MASK_SATURATE 0x10
@@ -398,7 +398,7 @@ do { \
do { \
struct i915_fs_op op; \
\
- op = i915_fs_arith(DP3, dest_reg, operand0, i915_fs_operand_none(), \
+ op = i915_fs_arith(DP3, dest_reg, operand0, operand1, \
i915_fs_operand_none()); \
op.ui[0] &= ~A0_DEST_CHANNEL_ALL; \
op.ui[0] |= ((dest_mask) & ~MASK_SATURATE) << A0_DEST_CHANNEL_SHIFT; \