radv: add missing return values check for some winsys calls
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Sun, 12 Jul 2020 16:35:25 +0000 (18:35 +0200)
committerMarge Bot <eric+marge@anholt.net>
Wed, 22 Jul 2020 15:06:20 +0000 (15:06 +0000)
commit7a61e31d7b2e9a486686740fad11d58745fa9cc9
tree88b4675f8c65187855f9e65850a5fb300ae8a6d3
parent348e8b5618c9049b65f339830cac2b221efa7102
radv: add missing return values check for some winsys calls

Make sure to handle errors properly.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5872>
src/amd/vulkan/radv_device.c
src/amd/vulkan/radv_sqtt.c