mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-27 10:08:13 +02:00
r600g: fix logicop, the 3d ROP is the 2D rop shifted twice.
This commit is contained in:
parent
e8ff0f63b6
commit
76d0541e79
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue