mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-02 13:50:09 +01:00
llvmpipe: blend has effects even if no colorbuffers.
ARB_framebuffer_no_attachments + multisampling means blend can have an effect even outside of colorbufs Fixes: dEQP-VK.pipeline.multisample.alpha_to_coverage_no_color_attachment.samples_4.alpha_opaque Reviewed-by: Roland Scheidegger <sroland@vmware.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6381>
This commit is contained in:
parent
727bb217be
commit
2d6385715d
1 changed files with 1 additions and 3 deletions
|
|
@ -3987,9 +3987,7 @@ make_variant_key(struct llvmpipe_context *lp,
|
|||
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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue