Jump to content
  • Advertisement
Sign in to follow this  

[D3D12] Hlsl Printf

This topic is 873 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 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?



Edited by _void_

Share this post

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

  • Advertisement

Important Information

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

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!