anv/image: Add an aspects field
authorJason Ekstrand <jason.ekstrand@intel.com>
Fri, 13 May 2016 19:50:11 +0000 (12:50 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Tue, 17 May 2016 19:17:22 +0000 (12:17 -0700)
commit234ecf26c65a8909e91313a8b35e2a8a8bbfc0ef
tree95ec965887390be3537d0a74adff7f99a8df573c
parent1bda8d06e54ee56db89a00e7a9ed8577d724fc9f
anv/image: Add an aspects field

This makes several checks easier and allows us to avoid calling
anv_format_for_vk_format in a number of cases.
src/intel/vulkan/anv_image.c
src/intel/vulkan/anv_private.h
src/intel/vulkan/gen7_cmd_buffer.c
src/intel/vulkan/genX_cmd_buffer.c