• Advertisement
Sign in to follow this  

SlimDX and the Visual Studio Graphics Debugger

This topic is 1753 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

I am trying to debug my code in the graphics diagnostics tool provided with Visual Studio 2012.  However, I am noticing that the order in which D3D function calls are made according to the Graphics Events List tab is different than the order in which I call them (or at least call their wrappers) in my code.  For example, in my initialization code, I start by creating a device and swap chain, then create a viewport, and then create a render target with corrosponding RenderTargetView.  However, in the Graphics Events List tab, it records that D3D11CreateDeviceAndSwapChain() is called first, and then my Vertex Shader is created immediately afterwards.  The render target and viewport are not listed as being created until much further down in the list of events.


What gives?  Why does SlimDX do this as opposed to creating things in the order in which I specify them?  

Share this post

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

  • Advertisement