aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2017-10-07 23:15:26 +0000
committerjeremyk-lunarg <jeremyk@lunarg.com>2017-10-20 14:03:39 -0700
commit3e93fba099482aa5b81d401a08b6f35fe19d3516 (patch)
tree68a6f6f85ae68754506ffd669035d89e80ba9ac5
parent7567470f0563474fdf4bb87ad2e1c185b981b3c0 (diff)
downloadusermoji-3e93fba099482aa5b81d401a08b6f35fe19d3516.tar.xz
demos: VkFormatString add missing formats
Some formats were shown as unknown in vulkaninfo's list, make sure they're all included.
-rw-r--r--demos/vulkaninfo.c5
1 files changed, 5 insertions, 0 deletions
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);