anv: Add helpers to provide simple VkFormat introspection
authorJason Ekstrand <jason.ekstrand@intel.com>
Fri, 13 May 2016 21:05:00 +0000 (14:05 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Tue, 17 May 2016 19:17:22 +0000 (12:17 -0700)
commitffc502ce0c422822b8d276d07600a6089c70b4af
tree69a57404f653cf11b5c5eb4340f6c516b098a4c1
parent97ba402cc3d5db37778d2bec284df32316cae6d1
anv: Add helpers to provide simple VkFormat introspection

As much as I hate adding yet more format introspection, there are times
when the VkFormat is sufficient and we don't want to round-trip through
isl_format.  For these times, the new vk_format_info.c/h files provide some
simple driver-agnostic VkFormat introspection.  This intended to be
specific to Vulkan but not to any driver whatsoever.
src/intel/vulkan/Makefile.sources
src/intel/vulkan/vk_format_info.h [new file with mode: 0644]