draw: Delete unneeded LLVM stuff earlier.
authorFrank Henigman <fjhenigman@google.com>
Tue, 1 Oct 2013 19:15:43 +0000 (15:15 -0400)
committerJosé Fonseca <jfonseca@vmware.com>
Wed, 14 May 2014 10:05:00 +0000 (11:05 +0100)
commitef14f0d59f24ab506b50d7612368381df51d515c
treef97b5556d104e1ffe45d24c58296b8ca5682d88e
parent865d0312c0dd7411ce813206cef3c399d6641241
draw: Delete unneeded LLVM stuff earlier.

Free up unneeded LLVM stuff immediately after generating vertex shader
code.  Saves about 500K per shader.

v2: Don't bother calling gallivm_free_function (Jose)

Signed-off-by: José Fonseca <jfonseca@vmware.com>
Reviewed-by: Roland Scheidegger <sroland@vmware.com>
src/gallium/auxiliary/draw/draw_llvm.c