• Advertisement
Sign in to follow this  

PIXBeginEvent and PIXEndEvent member functions on CommandList object

This topic is 748 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hello,

 

I have come across these guys in the documentation

https://msdn.microsoft.com/en-us/library/windows/desktop/dn903889(v=vs.85).aspx

https://msdn.microsoft.com/en-us/library/windows/desktop/dn903890(v=vs.85).aspx

 

If I try to use any of them on ID3D12GraphicsCommandList, I get an error that the method is not found.

Do they come with some update for VS 2015 or Windows SDK?

 

Edit:

Just checked D3D12 GitHub samples. They are using global functions PIXBeginEvent() and PIXEndEvent(), taking command list as an argument, from #include <pix.h>.

Feels like misleading documentation indeed.

 

Tx

Edited by _void_

Share this post


Link to post
Share on other sites
Advertisement

Yeah, the GitHub samples do it the right way.

 

I think the Command Queue/List functions called PIXBeginEvent/PIXEndEvent are there in error. I'll see if we can have them removed.

Edited by Adam Miles

Share this post


Link to post
Share on other sites

The documentation you linked to is the old pre-release documentation. The final documentation doesn't list those methods. Instead it has BeginEvent and EndEvent, which are called by the helper functions in pix.h.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement