projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a46aa3d
)
draw/tess: free tessellation control shader i/o memory.
author
Dave Airlie
<airlied@redhat.com>
Tue, 5 May 2020 06:02:39 +0000
(16:02 +1000)
committer
Dave Airlie
<airlied@redhat.com>
Tue, 5 May 2020 19:11:07 +0000
(
05:11
+1000)
Fixes: 0d02a7b8ca79 (draw: add main tessellation code)
Reviewed-by: Roland Scheidegger <sroland@vmware.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4899>
src/gallium/auxiliary/draw/draw_tess.c
patch
|
blob
|
history
diff --git
a/src/gallium/auxiliary/draw/draw_tess.c
b/src/gallium/auxiliary/draw/draw_tess.c
index f025d955f02c85228c19d1d69a8438a8b42efeab..07d5ef960f7f8d3f2a7f7ddb1603d829dd2aaab1 100644
(file)
--- a/
src/gallium/auxiliary/draw/draw_tess.c
+++ b/
src/gallium/auxiliary/draw/draw_tess.c
@@
-497,8
+497,11
@@
void draw_delete_tess_ctrl_shader(struct draw_context *draw,
}
assert(shader->variants_cached == 0);
+ align_free(dtcs->tcs_input);
+ align_free(dtcs->tcs_output);
}
#endif
+
if (dtcs->state.ir.nir)
ralloc_free(dtcs->state.ir.nir);
FREE(dtcs);