anv: refactor, remove else block in AllocateMemory
authorTapani Pälli <tapani.palli@intel.com>
Tue, 9 Oct 2018 06:53:55 +0000 (09:53 +0300)
committerTapani Pälli <tapani.palli@intel.com>
Wed, 19 Dec 2018 07:38:41 +0000 (09:38 +0200)
commit5c65c60d6c9120b2704e8767f3381faef97c4052
tree407ab04f2cc1ab166811e6c6546aac5ef540475e
parent884fc90fdebaad93986c80752df3723b7f8f1392
anv: refactor, remove else block in AllocateMemory

This makes it cleaner to introduce more cases where we import memory
from different types of external memory buffers.

Signed-off-by: Tapani Pälli <tapani.palli@intel.com>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
src/intel/vulkan/anv_device.c