This is a resend of merge request 864 with a few minor changes:
* shorten functions to clear_rtv, and explicitly specify that the d3d10core
version is clearing the backbuffer
* remove unnecessary inline
* fix spacing around asterisks
--
https://gitlab.winehq.org/wine/wine/-/merge_requests/865
This fixes an issue exposed (but not caused) by commit
e553be7e776282fea77b8b60304298d9de90bd8b. Calling vkFreeCommandBuffers()
after the corresponding command pool was destroyed causes invalid memory
accesses. Thanks to Jacek for pointing this out.
--
https://gitlab.winehq.org/wine/wine/-/merge_requests/858