HLSL and Pix number of questions

僤鯓⒐⒋嵵緔 提交于 2019-12-20 05:58:22

问题


I'm having a number of isses with HLSL and Pix.

1) Can you in HLSL 3, declare a Pixel shader alone without a Vertex Shader? If not, what can I do to get around this?

2) Why does Pix skip code? I have a reasonably long shader method but Pix seems to stop me from debugging until half way through the method and then skips the rest of the block. I set Pix to gather information when F12 is hit and check the DISABLE D3DX analysis checkbox. I have to do this because I'm using XNA.

3) Can I debug the shader as the experiment is being run?

Cheers,

来源:https://stackoverflow.com/questions/14763278/hlsl-and-pix-number-of-questions

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!