radv: return an error code when resetting a command buffer
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Mon, 11 Sep 2017 15:52:26 +0000 (17:52 +0200)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Mon, 11 Sep 2017 19:57:02 +0000 (21:57 +0200)
commit4f395e28a75f27969b6cdcb35de7eb77cf57f71b
tree2ad053a444f40ae998af83a996af7227b6607e25
parent03542d166381ebee1404850475b7076fbd0da2c4
radv: return an error code when resetting a command buffer

If the upload BO allocation failed.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Dave Airlie <airlied@redhat.com>
src/amd/vulkan/radv_cmd_buffer.c