vulkaninfo: support ASTC HDR formats
authorCharles Giessen <charles@lunarg.com>
Thu, 13 Feb 2020 21:32:33 +0000 (14:32 -0700)
committerCharles Giessen <46324611+charles-lunarg@users.noreply.github.com>
Thu, 13 Feb 2020 21:59:13 +0000 (14:59 -0700)
Adds the texture compressed ASTC HDR formats to vulkaninfo.

Change-Id: I0177e6c2461386fb44ace426a21429b84986065e

vulkaninfo/vulkaninfo.h

index c64148c..8493ac1 100644 (file)
@@ -1296,6 +1296,13 @@ struct AppGpu {
                 VK_FORMAT_PVRTC1_2BPP_UNORM_BLOCK_IMG,
                 VK_FORMAT_PVRTC2_4BPP_SRGB_BLOCK_IMG,
             },
+            {
+                // ASTC extension, not standardized
+                0,
+                VK_EXT_TEXTURE_COMPRESSION_ASTC_HDR_EXTENSION_NAME,
+                VK_FORMAT_ASTC_4x4_SFLOAT_BLOCK_EXT,
+                VK_FORMAT_ASTC_12x12_SFLOAT_BLOCK_EXT,
+            },
         };
     }
     ~AppGpu() {