radv: do not try to skip draw calls when VBOs upload failed
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Thu, 5 Apr 2018 09:27:10 +0000 (11:27 +0200)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Fri, 6 Apr 2018 17:46:21 +0000 (19:46 +0200)
commite829a0cc1ed2eb14a907acb71a235d21854525b7
tree774d256dd69ea4505815f3914f689edd0c7f0026
parentf1d7c16e8504a941ae481a20aa5294b964c801ce
radv: do not try to skip draw calls when VBOs upload failed

This is unnecessary because we record an error which should
be returned by vkEndCommandBuffer(), and the app shouldn't
submit a command buffer when this happens.

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