anv: fix memory allocation error handling
authorMarcin Ślusarz <marcin.slusarz@intel.com>
Mon, 15 Mar 2021 09:35:06 +0000 (10:35 +0100)
committerMarcin Ślusarz <marcin.slusarz@intel.com>
Mon, 15 Mar 2021 09:53:41 +0000 (10:53 +0100)
commit99e9a6721a4033016ca60139cc45be77eee841f1
treefe588646715fd25dc073edca17e9a600fba4e1a6
parent87966b0aa0163dfd056d5ce2ef12fb555c311c1c
anv: fix memory allocation error handling

Reported by Coverity.

Fixes: 0a7224f3ff7 ("anv: group as many command buffers into a single execbuf")
Signed-off-by: Marcin Ślusarz <marcin.slusarz@intel.com>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9596>
src/intel/vulkan/anv_queue.c