I'm sorry if this question seems naive. I don't have much experience with fx files. But I'm writing a programmed shader, in which I need to determine at run-time, if the value of r0 equals zero.
If so, I'd appreciate an output of -1 or something like that, REGARDLESS of what r0 used to be.
Is there an asm instruction I failed to look up?
Dirk
Re: Can one compare a value to zero?
[Re: dirkmittler]
#98080 11/09/0607:3311/09/0607:33