projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6f9d351
)
r600g: fix color target mask
author
Jerome Glisse
<jglisse@redhat.com>
Tue, 3 Aug 2010 20:15:17 +0000
(16:15 -0400)
committer
Jerome Glisse
<jglisse@redhat.com>
Tue, 3 Aug 2010 20:16:01 +0000
(16:16 -0400)
Signed-off-by: Jerome Glisse <jglisse@redhat.com>
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 f687d31e4b97e733fa86b7ec402f482ac56df34e..f0abafd6c21eb23a9dd1965c9ae074ba898e52c6 100644
(file)
--- a/
src/gallium/drivers/r600/r600_state.c
+++ b/
src/gallium/drivers/r600/r600_state.c
@@
-1182,8
+1182,7
@@
static struct radeon_state *r600_cb_cntl(struct r600_context *rctx)
if (pbs->rt[i].blend_enable) {
color_control |= (1 << (8 + i));
target_mask |= (pbs->rt[0].colormask << (4 * i));
- } else if (i == 0)
- target_mask |= 0xf;
+ }
}
rstate = radeon_state(rscreen->rw, R600_CB_CNTL_TYPE, R600_CB_CNTL);
rstate->states[R600_CB_CNTL__CB_SHADER_MASK] = 0x0000000F;