• Advertisement
Sign in to follow this  

[D3D12] Hlsl Printf

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