zink: add debug logs to Vulkan calls' errors
I'm trying to tackle one of the easy tasks suggested by @zmike at #5377
verify/validate all vulkan call function returns: anything that has a success/fail result should be checked for device_lost and successful execution, ideally with some error logging
I've used VKSCR
as a guide to walk me through almost all vulkan calls and then checked the vk-spec whether the function returned a VKResult.
@zmike , was this what you had in mind?
I noticed that you added zink_screen_handle_vkresult
some time ago, should I also replace every ret != VK_SUCCESS
with it?
Edited by Tales Aparecida