Skip to content
Snippets Groups Projects
Forked from Mesa / mesa
74220 commits behind the upstream repository.
Boris Brezillon's avatar
Boris Brezillon authored
Right now we create shaders that are not attached to any memory
context, leading to memory leaks. Ideally, we should free the NIR
shader as soon as we've turned it into a binary, but there's no
function explicitly destroy a shader. Let's attach those to the blend
state so they get destroyed when this state is freed.

Signed-off-by: default avatarBoris Brezillon <boris.brezillon@collabora.com>
Reviewed-by: default avatarAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Part-of: <mesa/mesa!7066>
dbc33e88
History
Name Last commit Last update