anv: Return an error if allocating attachment memory fails
authorJason Ekstrand <jason@jlekstrand.net>
Tue, 24 Mar 2020 23:18:28 +0000 (18:18 -0500)
committerMarge Bot <eric+marge@anholt.net>
Tue, 28 Apr 2020 22:45:39 +0000 (22:45 +0000)
commit513ed7542a4dd510bfc1cd0724ee8da8885f6568
tree55aa53da9534e2a089634c2a395836170da8ac23
parent0549fba3cccc7f2b48dc44819be0cc04be9e07f2
anv: Return an error if allocating attachment memory fails

Reviewed-by: Rafael Antognolli <rafael.antognolli@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4393>
src/intel/vulkan/genX_cmd_buffer.c