Jump to content

  • Log In with Google      Sign In   
  • Create Account

Debugging with PIX question


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
1 reply to this topic

#1 lomateron   Members   -  Reputation: 363

Like
0Likes
Like

Posted 13 September 2012 - 12:39 AM

I need to debug with PIX an special frame that runs some special code just one time.
I need to capture a frame like f12 does. The frame i need to capture runs just one time in special occasions, so i need to trigger the capture frame when that special thing happens.

Then i saw the PIX functions:
int D3DPERF_BeginEvent()
void D3DPERF_SetMarker()

and that I can trigger the capture frame when using those functions but then I saw that the requirement to use the function was to have in the header "d3d9.h".
I am using directx 10, Is there any way I can capture the frame?

Sponsor:

#2 MJP   Moderators   -  Reputation: 11774

Like
0Likes
Like

Posted 13 September 2012 - 01:04 AM

Just include d3d9.h and link to d3d9.lib. You can still call those functions in a DX10 app.




Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS