mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-08-23 06:56:40 +00:00
Readback indirect parameters after vkCmdEndRenderPass2
This commit is contained in:
@@ -2537,6 +2537,11 @@ bool WrappedVulkan::Serialise_vkCmdEndRenderPass2(SerialiserType &ser, VkCommand
|
||||
{
|
||||
ObjDisp(commandBuffer)->CmdEndRenderPass2(Unwrap(commandBuffer), &unwrappedEndInfo);
|
||||
|
||||
// fetch any queued indirect readbacks here
|
||||
for(const VkIndirectRecordData &indirectcopy :
|
||||
m_BakedCmdBufferInfo[m_LastCmdBufferID].indirectCopies)
|
||||
ExecuteIndirectReadback(commandBuffer, indirectcopy);
|
||||
|
||||
rdcarray<VkImageMemoryBarrier> imgBarriers = GetImplicitRenderPassBarriers(~0U);
|
||||
|
||||
GetResourceManager()->RecordBarriers(m_BakedCmdBufferInfo[m_LastCmdBufferID].imageStates,
|
||||
|
||||
Reference in New Issue
Block a user