projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
63c9450
)
r300g: fix reading from the destination buffer in blending
author
Marek Olšák
<maraeo@gmail.com>
Sat, 31 Oct 2009 04:34:46 +0000
(
05:34
+0100)
committer
Joakim Sindholt
<opensource@zhasha.com>
Sat, 31 Oct 2009 06:30:48 +0000
(07:30 +0100)
src/gallium/drivers/r300/r300_state.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/r300/r300_state.c
b/src/gallium/drivers/r300/r300_state.c
index 1e7fabf683dbdb165972b1d5d3888d1989ac2a25..3ac627e9599ea03e58ecb4eface63c73247babab 100644
(file)
--- 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;