projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
llvmpipe: blend has effects even if no colorbuffers.
[mesa.git]
/
src
/
gallium
/
drivers
/
llvmpipe
/
lp_state_fs.c
diff --git
a/src/gallium/drivers/llvmpipe/lp_state_fs.c
b/src/gallium/drivers/llvmpipe/lp_state_fs.c
index efb6bee25117cee68a96d9852717d544245e72e5..804ed9214c628936721f98c8012440bbcb5bf0d9 100644
(file)
--- a/
src/gallium/drivers/llvmpipe/lp_state_fs.c
+++ b/
src/gallium/drivers/llvmpipe/lp_state_fs.c
@@
-3987,9
+3987,7
@@
make_variant_key(struct llvmpipe_context *lp,
key->occlusion_count = TRUE;
}
key->occlusion_count = TRUE;
}
- if (lp->framebuffer.nr_cbufs) {
- memcpy(&key->blend, lp->blend, sizeof key->blend);
- }
+ memcpy(&key->blend, lp->blend, sizeof key->blend);
key->coverage_samples = 1;
key->min_samples = 1;
key->coverage_samples = 1;
key->min_samples = 1;