radv: rename record_fail to record_result and use VkResult
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Fri, 25 Aug 2017 14:10:30 +0000 (16:10 +0200)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Mon, 28 Aug 2017 09:25:44 +0000 (11:25 +0200)
commit2bc3d656907a8424355f01e90f4c5589191c6a8a
treee81eef5b5bfdb890293fbbfda2ddd417241a657c
parentdb91b8536e33a095a4bdfd4cedd215831c2c61e6
radv: rename record_fail to record_result and use VkResult

This will allow to propagate VK_ERROR_OUT_OF_HOST_MEMORY to
vkEndCommandBuffer() when necessary.

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