draw: free the NIR IR.
authorDave Airlie <airlied@redhat.com>
Wed, 15 Apr 2020 00:43:52 +0000 (10:43 +1000)
committerDave Airlie <airlied@redhat.com>
Wed, 15 Apr 2020 20:25:39 +0000 (06:25 +1000)
commitf01c0565bb9ad7335395920aebc7489cb76d1b72
tree70981a4aff2f88ba00f70f80d31e6bffca13b1bf
parent13ce637f1b28381e72470763ff5e39dd3c562476
draw: free the NIR IR.

Not sure how I missed this, the ownership was a bit blurry,
free the NIR.

Fixes: bf12bc2dd7a2 (draw: add nir info gathering and building support)
Reviewed-by: Roland Scheidegger <sroland@vmware.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4563>
src/gallium/auxiliary/draw/draw_gs.c
src/gallium/auxiliary/draw/draw_vs_llvm.c