Wrong display of secondary cmb-buf info

I could be wrong, but I think there is a mistake in the way Nsight is displaying the secondary cmd-buf info.

The display of the secondary cmd-buf is being extended pass its end. In the screenshot shown, it should show as completing earlier, at event 74, and switching back to primary cmd-buf. Instead, it displays secondary as running to the end of the frame.

I’m using primary and secondary cmd-bufs like this:

begin-cmdbuf(primary)

	// Locator pass
	begin-renderpass(contents-inline)
		// record in primary cmdbuf
	end-renderpass // in primary cmdbuf

	// Editor pass
	begin-renderpass(contents-inline)
		// record in primary cmdbuf
	end-renderpass // in primary cmdbuf

	// Gui pass
	begin-cmdbuf(secondary)
		begin-renderpass(contents-secondary)
			// record in secondary cmdbuf
		end-renderpass // in secondary
	end-cmdbuf // secondary

	// Present pass
	begin-renderpass(contents-inline) // back in primary cmdbuf
		// record in primary cmdbuf
	end-renderpass // in primary cmdbuf
end-cmdbuf // primary

Hi megavlad,

Thank you for using Nsight Graphics and providing your feedback. I think I understand your meaning, but could you share us a ‘C++ Capture’ for some inhouse check?

Thanks
An

Capture attached

CppCapture2ndCmdBuf.zip (4.0 MB)

Hi megavlad,

Thanks for sharing this to us, I will create an internal case to track it.

Thanks
An