mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-04-18 23:20:36 +02:00
i965: Don't leak scratch BOs for TCS/TES.
These need to be freed too. Cc: "12.0" <mesa-stable@lists.freedesktop.org> Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
This commit is contained in:
parent
a4a5917248
commit
667e5cec76
1 changed files with 4 additions and 0 deletions
|
|
@ -1100,6 +1100,10 @@ intelDestroyContext(__DRIcontext * driContextPriv)
|
|||
drm_intel_bo_unreference(brw->curbe.curbe_bo);
|
||||
if (brw->vs.base.scratch_bo)
|
||||
drm_intel_bo_unreference(brw->vs.base.scratch_bo);
|
||||
if (brw->tcs.base.scratch_bo)
|
||||
drm_intel_bo_unreference(brw->tcs.base.scratch_bo);
|
||||
if (brw->tes.base.scratch_bo)
|
||||
drm_intel_bo_unreference(brw->tes.base.scratch_bo);
|
||||
if (brw->gs.base.scratch_bo)
|
||||
drm_intel_bo_unreference(brw->gs.base.scratch_bo);
|
||||
if (brw->wm.base.scratch_bo)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue