From fb2272297f006b43878660ae192ce8702401d14f Mon Sep 17 00:00:00 2001 From: Charles Giessen Date: Thu, 13 Feb 2020 14:32:33 -0700 Subject: [PATCH] vulkaninfo: support ASTC HDR formats Adds the texture compressed ASTC HDR formats to vulkaninfo. Change-Id: I0177e6c2461386fb44ace426a21429b84986065e --- vulkaninfo/vulkaninfo.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/vulkaninfo/vulkaninfo.h b/vulkaninfo/vulkaninfo.h index c64148c..8493ac1 100644 --- a/vulkaninfo/vulkaninfo.h +++ b/vulkaninfo/vulkaninfo.h @@ -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() { -- 2.7.4