简体   繁体   English

PIX DirectX 11调试像素错误

[英]PIX DirectX 11 Debug Pixel Error

I recently updated my DirectX 11 (C++) application for dual-monitor, dual-window support. 我最近更新了我的DirectX 11(C ++)应用程序,用于双监视器,双窗口支持。 Ever since then, when I try to debug any pixel in the PIX debugger, I get the following error: 从那时起,当我尝试调试PIX调试器中的任何像素时,我收到以下错误:

A call that previously succeeded failed during playback:

EID: 1375 
Call: IDXGIFactory::CreateSwapChain() 
HRESULT: DXGI_ERROR_INVALID_CALL

For more information click 'Help'.

I am no longer using D3D11CreateDeviceAndSwapChain, but instead using D3D11CreateDevice and then CreateSwapChain to create separate swap chains for each of two windows (one per monitor). 我不再使用D3D11CreateDeviceAndSwapChain,而是使用D3D11CreateDevice然后使用CreateSwapChain为两个窗口(每个监视器一个)创建单独的交换链。 I used the SDK sample MultiMon10 as a reference when making my changes, however I can still debug pixels without error when running the MultiMon10 sample project through PIX. 我在进行更改时使用了SDK示例MultiMon10作为参考,但是当通过PIX运行MultiMon10示例项目时,我仍然可以无错误地调试像素。 So it can't just be a matter of "CreateSwapChain" not being PIX-friendly. 所以它不仅仅是“CreateSwapChain”不是PIX友好的问题。

Any ideas what could be causing this error? 可能导致此错误的任何想法? Debugging pixels and stepping through shaders has helped me out a lot in the past and I'd hate to lose that capability. 在过去调试像素和逐步着色器帮助了我很多,我不想失去这种能力。

Seems like I am hitting the same problem. 好像我遇到了同样的问题。 It also happens with Visual Studio 2012 Graphics Debug. Visual Studio 2012图形调试也会发生这种情况。 Must be something with CreateSwapChain in DX Debug mode. 在DX调试模式下必须是CreateSwapChain。

I've been using Intel's GPA tool instead to workaround this issue. 我一直在使用英特尔的GPA工具来解决这个问题。 I find it very useful. 我发现它非常有用。 It can be used to debug on the same machine or through a client/server model. 它可用于在同一台机器上或通过客户机/服务器模型进行调试。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM