radv/winsys: Deal with realloc failures in BO lists.
authorBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Sat, 20 Jun 2020 18:34:59 +0000 (20:34 +0200)
committerMarge Bot <eric+marge@anholt.net>
Wed, 24 Jun 2020 13:00:02 +0000 (13:00 +0000)
commit04765e6a9a43b831edd25a51a85e81f1390f36a8
tree839af6dc839bcc0bf52d41e1040fe3722d81f2a5
parent519ddfd31269113693cf7df4e7ad6b670ea3f289
radv/winsys: Deal with realloc failures in BO lists.

Otherwise if realloc fails we silently try to use it. Make recording fail instead.

CC: <mesa-stable@lists.freedesktop.org>
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5578>
src/amd/vulkan/winsys/amdgpu/radv_amdgpu_cs.c