radv: fix error code when resizing the upload BO
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Wed, 6 Sep 2017 13:24:49 +0000 (15:24 +0200)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Wed, 6 Sep 2017 13:52:19 +0000 (15:52 +0200)
commit5c9af800cbce71f818b5d5e8ce9bfc5b56611360
tree8802b60763c3cb8deae8a726fc67a9a37b04e47c
parent107ecd97f1b978599daf689db68a40c5f9dcd025
radv: fix error code when resizing the upload BO

malloc() failures are unrelated to the device memory.

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