r600g: fix logicop, the 3d ROP is the 2D rop shifted twice.

This commit is contained in:
Dave Airlie
2010-09-02 16:39:32 +10:00
parent e8ff0f63b6
commit 76d0541e79
+1 -1
View File
@@ -1319,7 +1319,7 @@ static void r600_cb_cntl(struct r600_context *rctx, struct radeon_state *rstate)
}
if (pbs->logicop_enable) {
color_control |= (pbs->logicop_func) << 16;
color_control |= (pbs->logicop_func << 16) | (pbs->logicop_func << 20);
} else {
color_control |= (0xcc << 16);
}