radv: check for upload alloc failure
authorGrazvydas Ignotas <notasas@gmail.com>
Sun, 5 Mar 2017 21:04:52 +0000 (23:04 +0200)
committerBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Sun, 5 Mar 2017 23:10:42 +0000 (00:10 +0100)
commita5446e3187ecaca5212e37a502c0145cc0299c47
treefd5bfca614730b03aed9b27daf70ec2cf9b7715a
parent666fe622e1b4c04e251cef6136500f3e71a17483
radv: check for upload alloc failure

Mainly to avoid gcc's complains about uninitialized ptr and offset use
later in that code.

Signed-off-by: Grazvydas Ignotas <notasas@gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
src/amd/vulkan/radv_cmd_buffer.c