[D3D12] Hlsl Printf

Started by
1 comment, last by _void_ 7 years, 9 months ago

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

Advertisement

HLSL printf was only supported on the D3D10/11 reference rasterizer (REF devices). No D3D12 device supports it yet.

Good to know! Tx

This topic is closed to new replies.

Advertisement