Skip to content

Commit

Permalink
Address code review comment
Browse files Browse the repository at this point in the history
Add warning message for delaying writing the block of
vkCreateRayTracingPipelinesKHR to the capture file.
  • Loading branch information
mizhen committed Dec 11, 2023
1 parent afbbfc8 commit adee9fb
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions framework/encode/custom_vulkan_api_call_encoders.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -687,6 +687,13 @@ VKAPI_ATTR VkResult VKAPI_CALL CreateRayTracingPipelinesKHR(VkDevice
result, device, deferredOperation, createInfoCount, pPipelines, pCreateInfos);
}
}
else
{
GFXRECON_LOG_WARNING("The operation of vkCreateRayTracingPipelinesKHR call is deferred, so the writing of "
"vkCreateRayTracingPipelinesKHR block to capture file will be delayed until the deferred "
"operation (handle = 0x%" PRIx64 ") is finished.",
deferredOperation);
}

CustomEncoderPostCall<format::ApiCallId::ApiCall_vkCreateRayTracingPipelinesKHR>::Dispatch(
VulkanCaptureManager::Get(),
Expand Down

0 comments on commit adee9fb

Please sign in to comment.