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

Vulkan dump: Support VK_FORMAT_D24_UNORM_S8_UINT #1954

Merged
merged 1 commit into from
Jan 14, 2025
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
3 changes: 3 additions & 0 deletions framework/decode/vulkan_replay_dump_resources_common.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -76,13 +76,16 @@ static util::imagewriter::DataFormats VkFormatToImageWriterDataFormat(VkFormat f
case VK_FORMAT_D32_SFLOAT_S8_UINT:
return util::imagewriter::DataFormats::kFormat_D32_FLOAT;

case VK_FORMAT_D24_UNORM_S8_UINT:
case VK_FORMAT_X8_D24_UNORM_PACK32:
return util::imagewriter::DataFormats::kFormat_D24_UNORM;

case VK_FORMAT_D16_UNORM:
return util::imagewriter::DataFormats::kFormat_D16_UNORM;

default:
GFXRECON_LOG_ERROR("%s isn't supported in VkFormatToImageWriterDataFormat",
util::ToString<VkFormat>(format).c_str());
return util::imagewriter::DataFormats::kFormat_UNSPECIFIED;
}
}
Expand Down
Loading