Mesa (master): r300g: fix reading from the destination buffer in blending
Joakim Sindholt
jsindholt at kemper.freedesktop.org
Sat Oct 31 06:31:15 UTC 2009
Module: Mesa
Branch: master
Commit: a8f85dceb5e721437ba30ec540cd0bf8ee454325
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=a8f85dceb5e721437ba30ec540cd0bf8ee454325
Author: Marek Olšák <maraeo at gmail.com>
Date: Sat Oct 31 05:34:46 2009 +0100
r300g: fix reading from the destination buffer in blending
---
src/gallium/drivers/r300/r300_state.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/src/gallium/drivers/r300/r300_state.c b/src/gallium/drivers/r300/r300_state.c
index 1e7fabf..3ac627e 100644
--- a/src/gallium/drivers/r300/r300_state.c
+++ b/src/gallium/drivers/r300/r300_state.c
@@ -75,7 +75,9 @@ static void* r300_create_blend_state(struct pipe_context* pipe,
srcRGB == PIPE_BLENDFACTOR_DST_ALPHA ||
srcRGB == PIPE_BLENDFACTOR_INV_DST_COLOR ||
srcRGB == PIPE_BLENDFACTOR_INV_DST_ALPHA ||
+ srcA == PIPE_BLENDFACTOR_DST_COLOR ||
srcA == PIPE_BLENDFACTOR_DST_ALPHA ||
+ srcA == PIPE_BLENDFACTOR_INV_DST_COLOR ||
srcA == PIPE_BLENDFACTOR_INV_DST_ALPHA)
blend->blend_control |= R300_READ_ENABLE;
More information about the mesa-commit
mailing list