Skip to content

d3d12: Fix leak of batch->bos on video-only builds

Sil Vilerino requested to merge sivileri/mesa:fix_leak_video_only into main

What does this MR do and why?

batch->bos must be destroyed on builds with graphics disabled too (as it's created with the same logic/rule). Validated with appverifier that leak doesn't happen anymore.

d3d12: Fix leak of batch->bos on video-only builds

Fixes: 55e377e9652 ("d3d12: Add partial media, compute, graphics support with CORE and GENERIC feature levels")

Merge request reports