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)