projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1516a4f
)
r600g: set CB_TARGET_MASK to 0xf and not 0xff for resolve on evergreen
author
Marek Olšák
<maraeo@gmail.com>
Sat, 18 Aug 2012 23:38:07 +0000
(
01:38
+0200)
committer
Marek Olšák
<maraeo@gmail.com>
Mon, 27 Aug 2012 02:30:59 +0000
(
04:30
+0200)
independent_blend_enable must be true, so that the colormask isn't replicated
in all colorbuffers.
Reviewed-by: Jerome Glisse <jglisse@redhat.com>
src/gallium/drivers/r600/evergreen_state.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/r600/evergreen_state.c
b/src/gallium/drivers/r600/evergreen_state.c
index 396d2c19615b35a2cf33c579d53a658e902cabc3..4e86693be451144cb0cb23c4548129fa1e298baf 100644
(file)
--- 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;