anv: handle allocation failure in anv_batch_emit_batch()
authorIago Toral Quiroga <itoral@igalia.com>
Fri, 3 Mar 2017 10:17:03 +0000 (11:17 +0100)
committerIago Toral Quiroga <itoral@igalia.com>
Thu, 16 Mar 2017 10:40:05 +0000 (11:40 +0100)
commit9e69409fcf16d8af58e2ba732e3cd78240a65317
tree8479c633daa3aac247e273223e4b42e4277f2a91
parenta8ce8e35420e57b6921dfce8462a7caa512b797a
anv: handle allocation failure in anv_batch_emit_batch()

v2:
 - Call the error handler (Topi)

Fixes:
dEQP-VK.api.out_of_host_memory.cmd_execute_commands

Reviewed-by: Topi Pohjolainen <topi.pohjolainen@intel.com>
src/intel/vulkan/anv_batch_chain.c