mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 09:08:10 +02:00
panfrost: Fix blend leak for render targets 5-8
Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com> Fixes:375d4c2c74("panfrost: Extend blending to MRT") Reviewed-by: Tomeu Vizoso <tomeu.vizoso@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6373> (cherry picked from commitba4fc67812)
This commit is contained in:
parent
f7a4d89b19
commit
e834ac4863
2 changed files with 2 additions and 2 deletions
|
|
@ -589,7 +589,7 @@
|
|||
"description": "panfrost: Fix blend leak for render targets 5-8",
|
||||
"nominated": true,
|
||||
"nomination_type": 1,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"master_sha": null,
|
||||
"because_sha": "375d4c2c74d5a7003e03c4e610b466bd0d7d1a53"
|
||||
},
|
||||
|
|
|
|||
|
|
@ -165,7 +165,7 @@ panfrost_delete_blend_state(struct pipe_context *pipe,
|
|||
{
|
||||
struct panfrost_blend_state *blend = (struct panfrost_blend_state *) cso;
|
||||
|
||||
for (unsigned c = 0; c < 4; ++c) {
|
||||
for (unsigned c = 0; c < PIPE_MAX_COLOR_BUFS; ++c) {
|
||||
struct panfrost_blend_rt *rt = &blend->rt[c];
|
||||
_mesa_hash_table_u64_clear(rt->shaders, panfrost_delete_blend_shader);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue