summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2012-08-19 01:38:07 +0200
committerMarek Olšák <[email protected]>2012-08-27 04:30:59 +0200
commit1cfec6e2c8f15b2448e0297f4ca975ed7ab0c505 (patch)
tree2e06a928d54bc9e149bc3400487100890715b880 /src/gallium/drivers
parent1516a4f3538b3b1720d0f5c771fbdcd52b34b9f9 (diff)
r600g: set CB_TARGET_MASK to 0xf and not 0xff for resolve on evergreen
independent_blend_enable must be true, so that the colormask isn't replicated in all colorbuffers. Reviewed-by: Jerome Glisse <[email protected]>
Diffstat (limited to 'src/gallium/drivers')
-rw-r--r--src/gallium/drivers/r600/evergreen_state.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/r600/evergreen_state.c b/src/gallium/drivers/r600/evergreen_state.c
index 396d2c19615..4e86693be45 100644
--- a/src/gallium/drivers/r600/evergreen_state.c
+++ b/src/gallium/drivers/r600/evergreen_state.c
@@ -3074,6 +3074,7 @@ void *evergreen_create_resolve_blend(struct r600_context *rctx)
struct r600_pipe_state *rstate;
memset(&blend, 0, sizeof(blend));
+ blend.independent_blend_enable = true;
blend.rt[0].colormask = 0xf;
rstate = evergreen_create_blend_state_mode(&rctx->context, &blend, V_028808_CB_RESOLVE);
return rstate;