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
d3d11: Implement d3d11_input_layout_to_wined3d_declaration() on top of vkd3d_shader_parse_input_signature().
This was originally prompted by the fact that
wined3d_extract_shader_input_signature_from_dxbc() allocates elements with
HeapAlloc(), but d3d11_input_layout_to_wined3d_declaration() attempts to free
them with free(). That's a regression introduced by commit
b951c37b8791ceb052c9e159ad7927f75a72d667. Since we're touching the code
though, we may as well use vkd3d_shader_parse_input_signature(), and get rid
of wined3d_extract_shader_input_signature_from_dxbc().
--
https://gitlab.winehq.org/wine/wine/-/merge_requests/860
There's no point in querying this multiple times, it's not going to change.
Perhaps more importantly, calling is_warp_device() inside a todo_wine block
will cause "Test succeeded inside todo block: ..." messages from
get_device_adapter_desc(). These appear to have been introduced by commit
fcc276ecb1508d5217ec977ca530ee7d30d355b9. Arguably get_device_adapter_desc()
shouldn't use ok() in the first place.
--
https://gitlab.winehq.org/wine/wine/-/merge_requests/861