anv: Add a new bo_pool_init helper
authorJason Ekstrand <jason.ekstrand@intel.com>
Tue, 1 Nov 2016 20:09:36 +0000 (13:09 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Wed, 9 Nov 2016 19:30:59 +0000 (11:30 -0800)
commit6283b6d56a2bb731cfcb4c876566901075f9bd34
treea5376832550daa6c849042812b57a2a9a9159bbc
parentba1eea4f957ca068eceea121bc3a70e2fe07873d
anv: Add a new bo_pool_init helper

This ensures that we're always setting all of the fields in anv_bo

Signed-off-by: Jason Ekstrand <jason@jlekstrand.net>
Reviewed-by: Kristian H. Kristensen <hoegsberg@google.com>
Cc: "13.0" <mesa-stable@lists.freedesktop.org>
src/intel/vulkan/anv_allocator.c
src/intel/vulkan/anv_device.c
src/intel/vulkan/anv_intel.c
src/intel/vulkan/anv_private.h