Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ammending removal of astc formats #1961

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions framework/decode/vulkan_replay_dump_resources_common.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down
Loading