Skip to content

Commit

Permalink
ProcessInitImageCommand should update image info layout
Browse files Browse the repository at this point in the history
  • Loading branch information
panos-lunarg committed Feb 6, 2025
1 parent 68773be commit 5207104
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions framework/decode/vulkan_replay_consumer_base.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1033,6 +1033,9 @@ void VulkanReplayConsumerBase::ProcessInitImageCommand(format::HandleId
image_info->level_count);
}

image_info->intermediate_layout = static_cast<VkImageLayout>(layout);
image_info->current_layout = static_cast<VkImageLayout>(layout);

if (result != VK_SUCCESS)
{
GFXRECON_LOG_WARNING(
Expand Down

0 comments on commit 5207104

Please sign in to comment.