anv: Replace ANV_BO_EXTERNAL with anv_bo::is_external
authorJason Ekstrand <jason@jlekstrand.net>
Tue, 29 Oct 2019 01:12:24 +0000 (20:12 -0500)
committerJason Ekstrand <jason@jlekstrand.net>
Thu, 31 Oct 2019 13:46:08 +0000 (13:46 +0000)
commitb781c85c79944ccc0a6b0e49daae574672c6dd26
tree59dc436634979b4c53f5037cdeec2383c3d87737
parent5534358ef6189fe1169ad181ac4578d41bec6835
anv: Replace ANV_BO_EXTERNAL with anv_bo::is_external

We're not THAT strapped for space that we can't burn one extra bit for
a boolean.  If we're really worried about it, we can always shrink the
flags field to 16 bits because the kernel only uses 7 currently.

Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
src/intel/vulkan/anv_allocator.c
src/intel/vulkan/anv_batch_chain.c
src/intel/vulkan/anv_device.c
src/intel/vulkan/anv_intel.c
src/intel/vulkan/anv_private.h
src/intel/vulkan/anv_queue.c