对“计算"进行调试. VS 2013中的图形 [英] Debugging "compute" graphics in VS 2013

查看:60
本文介绍了对“计算"进行调试. VS 2013中的图形的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在D3D11中编程一些简单的图像处理(使用像素着色器),我想对其进行调试.我的设备没有交换链,也没有框架.

I'm programming some simple image processing in D3D11 (using pixel shaders), and I'd like to debug it. My device doesn't have a swap chain and no frames.

运行图形诊断程序时,我得到的时间表几乎没有任何内容.如果我将IDXGraphicsAnalysis与Begin/EndCapture()一起使用,我会得到无尽的运行时间轴(即使在程序运行后;现在它执行的很少),可以停止运行,但是我仍然看到 里面什么也没有捕获.

When I run graphics diagnostics I get a timeline with pretty much nothing on it. If I use IDXGraphicsAnalysis with Begin/EndCapture() I get an endless running timeline (even after the program runs; it does very little now) which I can stop, but I still see nothing in it and no capture.

有什么方法可以使调试工作而不显示任何内容?

Any way to get debugging working without displaying anything?

谢谢!

推荐答案

是的,该方案应该可行,但是您必须确保执行开始诊断"(或启动图形")调试),而不仅仅是开始调试".这可能是我们工具中的错误.该错误会在VS 2015 Update 2中重现吗?您使用的是哪个操作系统?回覆 了解更多信息,我可以进一步调查以获取修复.

Yes, the scenario should work, but you have to make sure to do Start Diagnostics (or Start Graphics Debugging) instead of just Start Debugging. It's possible it's a bug in our tool. Does the bug repro with VS 2015 Update 2. Which OS are you on? Reply with more info and I can investigate further for a repro.


这篇关于对“计算"进行调试. VS 2013中的图形的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆