radv: do not update vertex descriptors if the allocation failed
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Wed, 6 Sep 2017 15:25:27 +0000 (17:25 +0200)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Fri, 8 Sep 2017 14:04:51 +0000 (16:04 +0200)
commit67ee31a086e584ec163ad2232d82d2d701068475
treea0f8836521464b97561b74b76013d4c0c7946290
parentfefbcb090d2cd0048d961a355e313601ff8d68c3
radv: do not update vertex descriptors if the allocation failed

A return code error is stored in the command buffer and should
be returned to the user via EndCommandBuffer().

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
src/amd/vulkan/radv_cmd_buffer.c