projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e8ff0f6
)
r600g: fix logicop, the 3d ROP is the 2D rop shifted twice.
author
Dave Airlie
<airlied@redhat.com>
Thu, 2 Sep 2010 06:39:32 +0000
(16:39 +1000)
committer
Dave Airlie
<airlied@redhat.com>
Thu, 2 Sep 2010 06:40:41 +0000
(16:40 +1000)
src/gallium/drivers/r600/r600_state.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/r600/r600_state.c
b/src/gallium/drivers/r600/r600_state.c
index 95611d173948d17c9cdd8fd867e26637ebbcbea1..66cab7d7a6ec177e2790cb0dd85998479d9744f9 100644
(file)
--- a/
src/gallium/drivers/r600/r600_state.c
+++ b/
src/gallium/drivers/r600/r600_state.c
@@
-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);
}