freedreno: free compiler when screen is destroyed
authorRob Clark <robdclark@gmail.com>
Tue, 21 Mar 2017 15:35:40 +0000 (11:35 -0400)
committerRob Clark <robdclark@gmail.com>
Fri, 24 Mar 2017 22:01:47 +0000 (18:01 -0400)
commitd87ef8f77c4014902ef05b5caafc66cb36ee56f0
tree537e24592519d0f967ba6e235a607584bdc309b3
parente6621746dc71dfa618c0e2518cd0591a13a6c994
freedreno: free compiler when screen is destroyed

Drop ir3_compiler_destroy(), since it is only ralloc_free() and we
shouldn't really have an ir3 dependency in core.  If some future hw
has a new compiler, as long as all it's resources are ralloc()d then
things will all just work.

(In practice, I suppose you never really see this leak, but removing
it at least cleans up some noise in valgrind.)

Signed-off-by: Rob Clark <robdclark@gmail.com>
src/gallium/drivers/freedreno/freedreno_screen.c
src/gallium/drivers/freedreno/ir3/ir3_compiler.c
src/gallium/drivers/freedreno/ir3/ir3_compiler.h