From: Iván Briano Date: Tue, 5 May 2020 20:20:48 +0000 (-0700) Subject: anv: Disable B5G6R5_UNORM_PACK16 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=32d631dcd250bdfa0c8089921b50544988ee8f8b;p=mesa.git anv: Disable B5G6R5_UNORM_PACK16 It's not a required format and it causes issues with some features. Reviewed-by: Jason Ekstrand Part-of: --- diff --git a/src/intel/vulkan/anv_formats.c b/src/intel/vulkan/anv_formats.c index a3d25ebc3e6..eb1514bb42f 100644 --- a/src/intel/vulkan/anv_formats.c +++ b/src/intel/vulkan/anv_formats.c @@ -148,7 +148,7 @@ static const struct anv_format main_formats[] = { fmt1(VK_FORMAT_R4G4B4A4_UNORM_PACK16, ISL_FORMAT_A4B4G4R4_UNORM), swiz_fmt1(VK_FORMAT_B4G4R4A4_UNORM_PACK16, ISL_FORMAT_A4B4G4R4_UNORM, BGRA), fmt1(VK_FORMAT_R5G6B5_UNORM_PACK16, ISL_FORMAT_B5G6R5_UNORM), - swiz_fmt1(VK_FORMAT_B5G6R5_UNORM_PACK16, ISL_FORMAT_B5G6R5_UNORM, BGRA), + fmt_unsupported(VK_FORMAT_B5G6R5_UNORM_PACK16), fmt1(VK_FORMAT_R5G5B5A1_UNORM_PACK16, ISL_FORMAT_A1B5G5R5_UNORM), fmt_unsupported(VK_FORMAT_B5G5R5A1_UNORM_PACK16), fmt1(VK_FORMAT_A1R5G5B5_UNORM_PACK16, ISL_FORMAT_B5G5R5A1_UNORM),