Skip to content

Commit

Permalink
Fix a recent regression related to --pipeline-creation-jobs option.
Browse files Browse the repository at this point in the history
  • Loading branch information
fabian-lunarg committed Nov 26, 2024
1 parent e00b3a5 commit 4c3c7c4
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions framework/decode/vulkan_replay_consumer_base.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8408,8 +8408,11 @@ void VulkanReplayConsumerBase::OverrideCmdBindPipeline(PFN_vkCmdBindPipeline

if (command_buffer_info != nullptr && pipeline_info != nullptr)
{
command_buffer = command_buffer_info->handle;
pipeline = pipeline_info->handle;
command_buffer = MapHandle<VulkanCommandBufferInfo>(command_buffer_info->capture_id,
&CommonObjectInfoTable::GetVkCommandBufferInfo);

// MapHandle will force synchronization with potentially running asynchronous tasks.
pipeline = MapHandle<VulkanPipelineInfo>(pipeline_info->capture_id, &CommonObjectInfoTable::GetVkPipelineInfo);

// keep track of currently bound pipeline
command_buffer_info->bound_pipeline_id = pipeline_info->capture_id;
Expand Down

0 comments on commit 4c3c7c4

Please sign in to comment.