From 3e93fba099482aa5b81d401a08b6f35fe19d3516 Mon Sep 17 00:00:00 2001 From: "Wladimir J. van der Laan" Date: Sat, 7 Oct 2017 23:15:26 +0000 Subject: demos: VkFormatString add missing formats Some formats were shown as unknown in vulkaninfo's list, make sure they're all included. --- demos/vulkaninfo.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/demos/vulkaninfo.c b/demos/vulkaninfo.c index 8334dd41..5d54698e 100644 --- a/demos/vulkaninfo.c +++ b/demos/vulkaninfo.c @@ -397,6 +397,8 @@ static const char *VkFormatString(VkFormat fmt) { STR(D32_SFLOAT_S8_UINT); STR(BC1_RGB_UNORM_BLOCK); STR(BC1_RGB_SRGB_BLOCK); + STR(BC1_RGBA_UNORM_BLOCK); + STR(BC1_RGBA_SRGB_BLOCK); STR(BC2_UNORM_BLOCK); STR(BC2_SRGB_BLOCK); STR(BC3_UNORM_BLOCK); @@ -410,8 +412,11 @@ static const char *VkFormatString(VkFormat fmt) { STR(BC7_UNORM_BLOCK); STR(BC7_SRGB_BLOCK); STR(ETC2_R8G8B8_UNORM_BLOCK); + STR(ETC2_R8G8B8_SRGB_BLOCK); STR(ETC2_R8G8B8A1_UNORM_BLOCK); + STR(ETC2_R8G8B8A1_SRGB_BLOCK); STR(ETC2_R8G8B8A8_UNORM_BLOCK); + STR(ETC2_R8G8B8A8_SRGB_BLOCK); STR(EAC_R11_UNORM_BLOCK); STR(EAC_R11_SNORM_BLOCK); STR(EAC_R11G11_UNORM_BLOCK); -- cgit v1.2.3