anv: add from/to helpers with android and vulkan formats
authorTapani Pälli <tapani.palli@intel.com>
Tue, 29 May 2018 06:29:03 +0000 (09:29 +0300)
committerTapani Pälli <tapani.palli@intel.com>
Wed, 19 Dec 2018 07:38:41 +0000 (09:38 +0200)
commitaa94e01bfeb2d4c002c646784f9bfa7096705808
treea0ccb78b08d23bc6222edb239820bf074bd10c96
parentc1f15a0a1a7c00fb5ec59e573ff0a155ffa3f840
anv: add from/to helpers with android and vulkan formats

v2: handle R8G8B8X8 as R8G8B8_UNORM (Jason)
v3: add HAL_PIXEL_FORMAT_NV12_Y_TILED_INTEL, we make it define
    for now to avoid direct dependency to minigbm headers

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