Skip to main content
gamedev.net
🔒 Locked

HLSL printf?

Started by wavetable 2 replies 2.8k views
Original Post
wavetable
wavetable
hi all, is there a printf like function in HLSL so i can write to PIX output log or to a log file or something similar? thanks a lot.
bobofjoe
bobofjoe
Nope.
Shader debugging is usually done with an external tool, something like NVPerfHud .
[size=1]Visit my website, rawrrawr.com
MJP
MJP
No, but considering that you can step through your HLSL line by line in PIX I don't see why you'd need to.
wavetable
wavetable
ok, thanks.
i would like to output a vec that changes with cam position, so i can simultanously change cam pos and watch results without a breakpoint.
so actually a way to write to the PIX HUD would be better, is there something like that?

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.