From: Jason Ekstrand Date: Sat, 23 Jan 2016 03:03:27 +0000 (-0800) Subject: anv/formats: Add support for 3 more formats X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=259e1bdf79491d355cb306545048d58e0544eb09;p=mesa.git anv/formats: Add support for 3 more formats --- diff --git a/src/vulkan/anv_formats.c b/src/vulkan/anv_formats.c index 1f735a4dcd2..3f3eace3c2f 100644 --- a/src/vulkan/anv_formats.c +++ b/src/vulkan/anv_formats.c @@ -38,13 +38,13 @@ static const struct anv_format anv_formats[] = { fmt(VK_FORMAT_UNDEFINED, ISL_FORMAT_RAW), fmt(VK_FORMAT_R4G4_UNORM_PACK8, ISL_FORMAT_UNSUPPORTED), - fmt(VK_FORMAT_R4G4B4A4_UNORM_PACK16, ISL_FORMAT_UNSUPPORTED), + fmt(VK_FORMAT_R4G4B4A4_UNORM_PACK16, ISL_FORMAT_A4B4G4R4_UNORM), fmt(VK_FORMAT_B4G4R4A4_UNORM_PACK16, ISL_FORMAT_UNSUPPORTED), - fmt(VK_FORMAT_R5G6B5_UNORM_PACK16, ISL_FORMAT_UNSUPPORTED), + fmt(VK_FORMAT_R5G6B5_UNORM_PACK16, ISL_FORMAT_B5G6R5_UNORM), fmt(VK_FORMAT_B5G6R5_UNORM_PACK16, ISL_FORMAT_UNSUPPORTED), - fmt(VK_FORMAT_R5G5B5A1_UNORM_PACK16, ISL_FORMAT_UNSUPPORTED), + fmt(VK_FORMAT_R5G5B5A1_UNORM_PACK16, ISL_FORMAT_A1B5G5R5_UNORM), fmt(VK_FORMAT_B5G5R5A1_UNORM_PACK16, ISL_FORMAT_UNSUPPORTED), - fmt(VK_FORMAT_A1R5G5B5_UNORM_PACK16, ISL_FORMAT_UNSUPPORTED), + fmt(VK_FORMAT_A1R5G5B5_UNORM_PACK16, ISL_FORMAT_B5G5R5A1_UNORM), fmt(VK_FORMAT_R8_UNORM, ISL_FORMAT_R8_UNORM), fmt(VK_FORMAT_R8_SNORM, ISL_FORMAT_R8_SNORM), fmt(VK_FORMAT_R8_USCALED, ISL_FORMAT_R8_USCALED),