From 1a18d82b2825370149d7f8812832a15f9ed4917c Mon Sep 17 00:00:00 2001 From: Panagiotis Apostolou Date: Thu, 16 Jan 2025 09:49:14 +0200 Subject: [PATCH] Ammending removal of astc formats --- framework/decode/vulkan_replay_dump_resources_common.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/framework/decode/vulkan_replay_dump_resources_common.cpp b/framework/decode/vulkan_replay_dump_resources_common.cpp index d6cb90d27..d36388db3 100644 --- a/framework/decode/vulkan_replay_dump_resources_common.cpp +++ b/framework/decode/vulkan_replay_dump_resources_common.cpp @@ -913,8 +913,10 @@ DumpedImageFormat GetDumpedImageFormat(const VulkanDeviceInfo* device const VulkanPhysicalDeviceInfo* phys_dev_info = object_info_table.GetVkPhysicalDeviceInfo(device_info->parent_id); assert(phys_dev_info); - // If there's a request for images to be dumped as raw bin files - if (dump_raw) + // Two cases that an image is going to be dumped as raw binary file: + // 1. It's a compressed format. + // 2. All images are requested to be dumped raw. + if (dump_raw || vkuFormatIsCompressed(src_format)) { return KFormatRaw; }