radv: add the custom border color BO to the list of buffers
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Mon, 13 Jul 2020 18:09:15 +0000 (20:09 +0200)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Tue, 14 Jul 2020 06:29:06 +0000 (08:29 +0200)
commitac642d8e6d4462266e3947a5aeb77d98656218ea
treed74fcbc6f84d15fab7eac39829f66c4f87c7ee8f
parent684cfca7489e438055a44f5b6cd76fefae099e27
radv: add the custom border color BO to the list of buffers

The buffer was never added to the list of buffers. This might lead to
VM faults and GPU hangs.

Found this by luck.

Fixes: 57e796a12a8 ("radv: Implement VK_EXT_custom_border_color")
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/5884>
src/amd/vulkan/radv_device.c