diff options
author | Dave Airlie <airlied@redhat.com> | 2020-04-24 16:31:03 +1000 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2020-06-09 15:13:23 +1000 |
commit | 7d75fe48749fbaecd0cdb8916100846d9acda988 (patch) | |
tree | 33ea2ea8b7abfa89e5596356bbbc27cfc1d93f20 | |
parent | d3c1b284a821e958aaf5dc53c80995d58983da48 (diff) |
Blend can matter outside of no cbufs
-rw-r--r-- | src/gallium/drivers/llvmpipe/lp_state_fs.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/gallium/drivers/llvmpipe/lp_state_fs.c b/src/gallium/drivers/llvmpipe/lp_state_fs.c index 2e44238a439..25ca6e3ec39 100644 --- a/src/gallium/drivers/llvmpipe/lp_state_fs.c +++ b/src/gallium/drivers/llvmpipe/lp_state_fs.c @@ -3833,9 +3833,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; |