summaryrefslogtreecommitdiff
path: root/src/i830_render.c
diff options
context:
space:
mode:
authorWang Zhenyu <zhenyu.z.wang@intel.com>2007-03-27 15:34:32 +0800
committerWang Zhenyu <zhenyu.z.wang@intel.com>2007-03-27 15:34:32 +0800
commit6cd3b2c2de4596886aab85988b16cf63e8887add (patch)
tree9172e8d0e2223e73c6d739f85547389e1d227102 /src/i830_render.c
parent35b3dd881a333569ce20ddf36b915b095757a1ba (diff)
EXA: i830 fix blend action
i830_get_blend_cntl() has already added S8 offset.
Diffstat (limited to 'src/i830_render.c')
-rw-r--r--src/i830_render.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/i830_render.c b/src/i830_render.c
index 9b8f2da3..d5878056 100644
--- a/src/i830_render.c
+++ b/src/i830_render.c
@@ -486,7 +486,7 @@ i830_prepare_composite(int op, PicturePtr pSrcPicture,
blendctl = i830_get_blend_cntl(op, pMaskPicture, pDstPicture->format);
OUT_RING(_3DSTATE_LOAD_STATE_IMMEDIATE_1 | I1_LOAD_S(8) | 0);
- OUT_RING(S8_ENABLE_COLOR_BLEND | S8_BLENDFUNC_ADD |(blendctl<<4) |
+ OUT_RING(S8_ENABLE_COLOR_BLEND | S8_BLENDFUNC_ADD | blendctl |
S8_ENABLE_COLOR_BUFFER_WRITE);
ADVANCE_LP_RING();
}