Jump to content
  • Advertisement
Sign in to follow this  
_void_

[D3D12] Hlsl Printf

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

Hello!

 

I am struggling with finding a bug in mathimatically heavy shader.

VS graphics debugger does not seem to support shader debugging yet for D3D12? I am on R9 290 in WARP device mode.

 

I have started thinking about using HLSL printf https://msdn.microsoft.com/en-us/library/windows/desktop/ff728755(v=vs.85).aspx.

But not sure about the actual usage. Basically, I have added printf calls to the shader but do not get any logs in VS output window.

Do I need explicitly to use information queue https://msdn.microsoft.com/en-us/library/windows/desktop/dn950163(v=vs.85).aspx to retrieve the results?

 

Tx

Edited by _void_

Share this post


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

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!