PIXBeginEvent and PIXEndEvent member functions on CommandList object

Started by
2 comments, last by _void_ 8 years ago

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

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.

Adam Miles - Principal Software Development Engineer - Microsoft Xbox Advanced Technology Group

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.

Thanks everyone for the input

This topic is closed to new replies.

Advertisement