llvmpipe: blend has effects even if no colorbuffers.
[mesa.git] / src / gallium / drivers / llvmpipe / lp_state_fs.c
index efb6bee25117cee68a96d9852717d544245e72e5..804ed9214c628936721f98c8012440bbcb5bf0d9 100644 (file)
@@ -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;