mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-08 04:10:10 +01:00
asahi: plug passthrough tcs leak
Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27616>
This commit is contained in:
parent
e91c0b6423
commit
7eda3da983
1 changed files with 5 additions and 0 deletions
|
|
@ -2652,6 +2652,11 @@ agx_delete_shader_state(struct pipe_context *ctx, void *cso)
|
|||
}
|
||||
}
|
||||
|
||||
for (unsigned i = 0; i < ARRAY_SIZE(so->passthrough_tcs); ++i) {
|
||||
if (so->passthrough_tcs[i])
|
||||
agx_delete_shader_state(ctx, so->passthrough_tcs[i]);
|
||||
}
|
||||
|
||||
ralloc_free(so);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue