Skip to content

radeonsi: fix leaks in si_compute_blit functions

si_compute_copy_image, si_compute_clear_render_target, si_compute_expand_fmask and si_retile_dcc use the same pattern:

  • save the current image view(s)
  • perform some compute work
  • restore image view(s) but forgot to release the saved image view(s).

The last commit should fix #2330 (closed).

(marking as WIP until my tests are finished)

Edited by Pierre-Eric Pelloux-Prayer

Merge request reports