Skip to content

freedreno: Fix leak of binning shader variants.

Emma Anholt requested to merge anholt/mesa:fd-drm-shim-fix into master

The v->binning variant is never added to shader->variants, so just free each one as we free the nonbinning variant.

Noticed from drm-shim mode running out of open fds, since each bo ends up with an fd.

Merge request reports