diff options
author | M Henning <drawoc@darkrefraction.com> | 2023-07-16 20:56:59 -0400 |
---|---|---|
committer | Marge Bot <emma+marge@anholt.net> | 2023-07-21 02:40:35 +0000 |
commit | 9178b049cc56aac8abd3df41f735912ffdde4684 (patch) | |
tree | 386aa7125bb00c207d0844d63b9623e6b2e2c104 /src/gallium/drivers/nouveau/nv50/nv50_surface.c | |
parent | d00d9673996794904fc37737eab7ac4fa1c6735c (diff) |
nv50: Keep nir directly in nv50_program
Reviewed-by: Karol Herbst <kherbst@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24175>
Diffstat (limited to 'src/gallium/drivers/nouveau/nv50/nv50_surface.c')
-rw-r--r-- | src/gallium/drivers/nouveau/nv50/nv50_surface.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/nouveau/nv50/nv50_surface.c b/src/gallium/drivers/nouveau/nv50/nv50_surface.c index c990155e138..b8b07ccaca8 100644 --- a/src/gallium/drivers/nouveau/nv50/nv50_surface.c +++ b/src/gallium/drivers/nouveau/nv50/nv50_surface.c @@ -1798,7 +1798,7 @@ nv50_blitter_destroy(struct nv50_screen *screen) struct nv50_program *prog = blitter->fp[i][m]; if (prog) { nv50_program_destroy(NULL, prog); - ralloc_free((void *)prog->pipe.ir.nir); + ralloc_free((void *)prog->nir); FREE(prog); } } |